()
| 181 | } |
| 182 | |
| 183 | const restoreCachedNpm = () => { |
| 184 | debug('trying to restore cached npm modules') |
| 185 | const NPM_CACHE = getNpmCache() |
| 186 | return restoreCache([NPM_CACHE.inputPath], NPM_CACHE.primaryKey, [ |
| 187 | NPM_CACHE.restoreKeys |
| 188 | ]).catch((e) => { |
| 189 | console.warn('Restoring npm cache error: %s', e.message) |
| 190 | }) |
| 191 | } |
| 192 | |
| 193 | const saveCachedNpm = () => { |
| 194 | debug('saving npm modules') |
no test coverage detected