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

19
node_modules/rimraf/dist/esm/ignore-enoent.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import { errorCode } from './error.js';
export const ignoreENOENT = async (p, rethrow) => p.catch(er => {
if (errorCode(er) === 'ENOENT') {
return;
}
throw rethrow ?? er;
});
export const ignoreENOENTSync = (fn, rethrow) => {
try {
return fn();
}
catch (er) {
if (errorCode(er) === 'ENOENT') {
return;
}
throw rethrow ?? er;
}
};
//# sourceMappingURL=ignore-enoent.js.map