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
10
electron/node_modules/rimraf/dist/commonjs/error.js
generated
vendored
Normal file
10
electron/node_modules/rimraf/dist/commonjs/error.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.errorCode = exports.isFsError = void 0;
|
||||
const isRecord = (o) => !!o && typeof o === 'object';
|
||||
const hasString = (o, key) => key in o && typeof o[key] === 'string';
|
||||
const isFsError = (o) => isRecord(o) && hasString(o, 'code') && hasString(o, 'path');
|
||||
exports.isFsError = isFsError;
|
||||
const errorCode = (er) => isRecord(er) && hasString(er, 'code') ? er.code : null;
|
||||
exports.errorCode = errorCode;
|
||||
//# sourceMappingURL=error.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue