(filePath)
| 11 | const appDir = context.appOutDir |
| 12 | |
| 13 | const removeFileSafe = (filePath) => { |
| 14 | try { |
| 15 | if (fs.existsSync(filePath)) { |
| 16 | fs.unlinkSync(filePath) |
| 17 | } |
| 18 | } catch { |
| 19 | // ignore |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | const removeDirSafe = (dirPath) => { |
| 24 | try { |
no outgoing calls
no test coverage detected