aboutsummaryrefslogtreecommitdiff
path: root/node_modules/p-try/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/p-try/index.js')
-rw-r--r--node_modules/p-try/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/p-try/index.js b/node_modules/p-try/index.js
new file mode 100644
index 0000000..efa2f74
--- /dev/null
+++ b/node_modules/p-try/index.js
@@ -0,0 +1,4 @@
+'use strict';
+module.exports = cb => new Promise(resolve => {
+ resolve(cb());
+});