We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60506a2 commit 0dfd3c5Copy full SHA for 0dfd3c5
lib/config.js
@@ -29,7 +29,7 @@ exports.load = function(fileName, currentEnv) {
29
//Check config entry's for ENV objects
30
//which will tell us to grab configuration from the environment
31
for (var configEntry in config[env]) {
32
- if (config[env][configEntry].ENV != null){
+ if (config[env][configEntry] && config[env][configEntry].ENV != null){
33
config[env][configEntry] = process.env[config[env][configEntry].ENV];
34
}
35
0 commit comments