@modjo/core
Advanced tools
Comparing version 1.7.4 to 1.7.5
@@ -187,7 +187,13 @@ const nctx = require("nctx") | ||
const trunk = (async () => { | ||
const instance = await instancePromise | ||
if (dep.key) { | ||
ctx.set(dep.key, instance) | ||
try { | ||
const instance = await instancePromise | ||
if (dep.key) { | ||
ctx.set(dep.key, instance) | ||
} | ||
return instance | ||
} catch (err) { | ||
process.stderr.write("modjo error dependency rejection") | ||
console.error(err) | ||
process.exit(1) | ||
} | ||
return instance | ||
})() | ||
@@ -194,0 +200,0 @@ treeCtx.trunk = trunk |
{ | ||
"name": "@modjo/core", | ||
"version": "1.7.4", | ||
"version": "1.7.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
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
22837
762