Comparing version 4.3.0 to 4.3.1
@@ -8,2 +8,7 @@ # Change Log | ||
## [4.3.1] - 2018-06-07 | ||
### Fixed | ||
- Handle loading empty files #257 (Paul Colleoni @polco) | ||
## [4.3.0] - 2018-06-02 | ||
@@ -10,0 +15,0 @@ ### Fixed |
@@ -606,3 +606,7 @@ /** | ||
paths.forEach(function(path) { | ||
overlay(loadFile(path), self._instance, self._schema); | ||
// Support empty config files #253 | ||
const result = loadFile(path); | ||
if (result) { | ||
overlay(result, self._instance, self._schema); | ||
} | ||
}); | ||
@@ -609,0 +613,0 @@ // environment and arguments always overrides config files |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"license": "Apache-2.0", | ||
@@ -16,0 +16,0 @@ "homepage": "https://github.com/mozilla/node-convict", |
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
52087
674