@travetto/config
Advanced tools
Comparing version 0.0.25 to 0.0.26
@@ -19,3 +19,3 @@ { | ||
"scripts": {}, | ||
"version": "0.0.25" | ||
"version": "0.0.26" | ||
} |
@@ -90,3 +90,5 @@ import { deepAssign, isPlainObject, isSimple } from '@travetto/base'; | ||
const conf = deepAssign({}, sub); | ||
if (sub) { | ||
deepAssign(obj, sub); | ||
} | ||
@@ -98,8 +100,6 @@ // Handle process.env on bind as the structure we need may not | ||
if (k.includes(ENV_SEP) && matcher.test(k)) { // Require at least one level | ||
ConfigMap.putCaseInsensitivePath(conf, k.substring(key.length + 1).split(ENV_SEP), process.env[k] as string); | ||
ConfigMap.putCaseInsensitivePath(obj, k.substring(key.length + 1).split(ENV_SEP), process.env[k] as string); | ||
} | ||
} | ||
deepAssign(obj, conf); | ||
return obj; | ||
@@ -106,0 +106,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
185
8002