Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
13
node_modules/@capacitor/cli/dist/util/fn.js
generated
vendored
Normal file
13
node_modules/@capacitor/cli/dist/util/fn.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.tryFn = void 0;
|
||||
const tryFn = async (fn, ...args) => {
|
||||
try {
|
||||
return await fn(...args);
|
||||
}
|
||||
catch {
|
||||
// ignore
|
||||
}
|
||||
return null;
|
||||
};
|
||||
exports.tryFn = tryFn;
|
||||
Loading…
Add table
Add a link
Reference in a new issue