Comparing version 0.0.1 to 0.0.2
@@ -68,6 +68,8 @@ (function() { | ||
} | ||
if ((env != null) && _.isString(env)) { | ||
options.env = env; | ||
} else { | ||
options = env; | ||
if (env != null) { | ||
if (_.isString(env)) { | ||
options.env = env; | ||
} else { | ||
options = env; | ||
} | ||
} | ||
@@ -74,0 +76,0 @@ loader = new YamlLoader(path, options); |
{ | ||
"name": "yml", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Read Yaml files based on NODE_ENV or passed env + support for encryption", | ||
@@ -5,0 +5,0 @@ "main": "build/main", |
Sorry, the diff of this file is not supported yet
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
9260
77