@evosphere/legato
Advanced tools
Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "@evosphere/legato", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Service management system", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -56,7 +56,9 @@ // @flow | ||
function resolveDependency(id : string) : mixed { | ||
let param; | ||
if (id[0] === "%") { | ||
return parameters[id.substr(1)] || null; | ||
param = parameters[id.substr(1)]; | ||
} else { | ||
return services[id] || null; | ||
param = services[id]; | ||
} | ||
return param !== undefined ? param : null; | ||
} | ||
@@ -63,0 +65,0 @@ |
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
107834
328