Comparing version 1.4.1 to 1.4.2
@@ -145,5 +145,7 @@ 'use strict' | ||
if (err) { | ||
reject(err) | ||
} else if (!cached) { | ||
reject(new Error('Data not found')) | ||
this.newInstance(id).then((newInstance) => { | ||
resolve(newInstance) | ||
}).catch((err) => { | ||
reject(err) | ||
}) | ||
} | ||
@@ -150,0 +152,0 @@ resolve(cached.item) |
{ | ||
"name": "flowx", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "", | ||
@@ -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
9609
174