(fsPath)
| 105695 | const blacklistedLocations = new Set(); |
| 105696 | |
| 105697 | const getCachePath = function getCachePath(fsPath) { |
| 105698 | const cacheRelativePath = normalizePath(path.relative(config.cacheFolder, fsPath)); |
| 105699 | |
| 105700 | // if fsPath is not inside cacheRelativePath, we just skip it |
| 105701 | if (cacheRelativePath.match(/^\.\.\//)) { |
| 105702 | return null; |
| 105703 | } |
| 105704 | |
| 105705 | return cacheRelativePath; |
| 105706 | }; |
| 105707 | |
| 105708 | const resolveOfflineCacheFolder = function resolveOfflineCacheFolder(fsPath) { |
| 105709 | if (!offlineCacheFolder) { |
no test coverage detected