(entryPath)
| 436 | } |
| 437 | |
| 438 | function _removeInstallEntryIfPresent(entryPath) { |
| 439 | _retryFsLockOperation(function () { |
| 440 | fs.rmSync(entryPath, { |
| 441 | recursive: true, force: true, maxRetries: 3, retryDelay: 200, |
| 442 | }); |
| 443 | }); |
| 444 | } |
| 445 | |
| 446 | function _copyFileIfPresent(src, dst) { |
| 447 | if (!fs.existsSync(src)) return false; |
no test coverage detected