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
5
electron/node_modules/rimraf/dist/esm/error.js
generated
vendored
Normal file
5
electron/node_modules/rimraf/dist/esm/error.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const isRecord = (o) => !!o && typeof o === 'object';
|
||||
const hasString = (o, key) => key in o && typeof o[key] === 'string';
|
||||
export const isFsError = (o) => isRecord(o) && hasString(o, 'code') && hasString(o, 'path');
|
||||
export const errorCode = (er) => isRecord(er) && hasString(er, 'code') ? er.code : null;
|
||||
//# sourceMappingURL=error.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue