first commit
This commit is contained in:
9
app_vue/node_modules/p-try/index.js
generated
vendored
Normal file
9
app_vue/node_modules/p-try/index.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
const pTry = (fn, ...arguments_) => new Promise(resolve => {
|
||||
resolve(fn(...arguments_));
|
||||
});
|
||||
|
||||
module.exports = pTry;
|
||||
// TODO: remove this in the next major version
|
||||
module.exports.default = pTry;
|
Reference in New Issue
Block a user