Initial pass on script Action

This commit is contained in:
Jonathan Clem
2019-08-29 18:46:42 -04:00
commit 8080ea76f3
363 changed files with 77611 additions and 0 deletions

15
node_modules/p-finally/index.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
'use strict';
module.exports = (promise, onFinally) => {
onFinally = onFinally || (() => {});
return promise.then(
val => new Promise(resolve => {
resolve(onFinally());
}).then(() => val),
err => new Promise(resolve => {
resolve(onFinally());
}).then(() => {
throw err;
})
);
};