This commit is contained in:
Stephen Franceschelli
2019-07-15 13:56:32 -04:00
parent 70039febf8
commit b387336039
7044 changed files with 1866384 additions and 0 deletions

19
node_modules/cosmiconfig/dist/cacheWrapper.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
//
'use strict';
function cacheWrapper (cache , key , fn ) {
if (!cache) {
return fn();
}
const cached = cache.get(key);
if (cached !== undefined) {
return cached;
}
const result = fn();
cache.set(key, result);
return result;
}
module.exports = cacheWrapper;