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
19
electron/node_modules/rimraf/dist/esm/ignore-enoent.js
generated
vendored
Normal file
19
electron/node_modules/rimraf/dist/esm/ignore-enoent.js
generated
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue