(error: any)
| 37 | } |
| 38 | |
| 39 | function isFileOpenError(error: any) { |
| 40 | return error.code === 'EACCES' || error.code === 'EPERM' || (error.message && error.message.includes('EBUSY')) |
| 41 | } |
| 42 | |
| 43 | function writeTempJson(data: any, log: boolean = true): string { |
| 44 | let filename = 'temp' |
no outgoing calls
no test coverage detected