Skip to content

Commit b03e3db

Browse files
author
David Zukowski
committed
chore(config): clean up overrides application
1 parent 1667324 commit b03e3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ config.utils_paths = {
120120
debug(`Looking for environment overrides for NODE_ENV "${config.env}".`)
121121
const environments = require('./environments').default
122122
const overrides = environments[config.env]
123-
if (environments[config.env]) {
123+
if (overrides) {
124124
debug('Found overrides, applying to default configuration.')
125125
Object.assign(config, overrides(config))
126126
} else {

0 commit comments

Comments
 (0)