forked from olcxjas-softworks/LarpixClient
fix gitignore again
This commit is contained in:
parent
ce5a1e330b
commit
5da5c2afe2
3329 changed files with 364540 additions and 3 deletions
24
electron/node_modules/rimraf/dist/commonjs/ignore-enoent.js
generated
vendored
Normal file
24
electron/node_modules/rimraf/dist/commonjs/ignore-enoent.js
generated
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue