forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
10
node_modules/rimraf/dist/commonjs/error.js
generated
vendored
Normal file
10
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