Comparing version 0.2.0 to 0.2.1
@@ -11,3 +11,3 @@ var _stackOfMore = []; | ||
if (_noMore) throw new Error("but-wait: you must not add more after noMore was called"); | ||
let toPush = more; | ||
var toPush = more; | ||
if (more instanceof Function) toPush = more(); | ||
@@ -17,3 +17,3 @@ if (!(toPush instanceof Promise)) | ||
_stackOfMore.push(more); | ||
_stackOfMore.push(toPush); | ||
}; | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "but-wait", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "but wait, there is more! run parallel tasks synchronously after initializing but before starting your application", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1279