This commit is contained in:
metacryst
2026-01-09 11:14:27 -06:00
parent cf03c95664
commit 637c9e4674
2149 changed files with 527743 additions and 0 deletions

24
node_modules/rimraf/dist/commonjs/ignore-enoent.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ignoreENOENTSync = exports.ignoreENOENT = void 0;
const error_js_1 = require("./error.js");
const ignoreENOENT = async (p, rethrow) => p.catch(er => {
if ((0, error_js_1.errorCode)(er) === 'ENOENT') {
return;
}
throw rethrow ?? er;
});
exports.ignoreENOENT = ignoreENOENT;
const ignoreENOENTSync = (fn, rethrow) => {
try {
return fn();
}
catch (er) {
if ((0, error_js_1.errorCode)(er) === 'ENOENT') {
return;
}
throw rethrow ?? er;
}
};
exports.ignoreENOENTSync = ignoreENOENTSync;
//# sourceMappingURL=ignore-enoent.js.map