mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 06:03:49 +00:00
Clean up node_modules
This commit is contained in:
parent
b581dd4017
commit
145e800d1f
7184 changed files with 11271 additions and 1877650 deletions
19
node_modules/cosmiconfig/dist/cacheWrapper.js
generated
vendored
19
node_modules/cosmiconfig/dist/cacheWrapper.js
generated
vendored
|
@ -1,19 +0,0 @@
|
|||
//
|
||||
'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;
|
Loading…
Add table
Add a link
Reference in a new issue