enhanced-resolve
Advanced tools
Comparing version 5.3.1 to 5.3.2
@@ -24,3 +24,7 @@ /* | ||
const runCallbacks = (callbacks, err, result) => { | ||
if (callbacks.length === 1) return callbacks[0](err, result); | ||
if (callbacks.length === 1) { | ||
callbacks[0](err, result); | ||
callbacks.length = 0; | ||
return; | ||
} | ||
let error; | ||
@@ -27,0 +31,0 @@ for (const callback of callbacks) { |
{ | ||
"name": "enhanced-resolve", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Offers a async require.resolve function. It's highly configurable.", |
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
154494
4868