pnpm
Version:
A fast implementation of npm install
11 lines • 406 B
JavaScript
;
const cache_1 = require('../api/cache');
function default_1(input, opts) {
if (input.length !== 1 || input[0] !== 'clean') {
throw new Error('Currently only the `cache clean` command is supported');
}
return cache_1.cleanCache(opts.globalPath);
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
//# sourceMappingURL=cache.js.map