Skip to content

Commit

Permalink
Fix line errors
Browse files Browse the repository at this point in the history
In this case we do need to override field values
  • Loading branch information
thani-sh committed Aug 30, 2016
1 parent 4a1bf77 commit 6322d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/server/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getEnvConfig(program, configEnv) {
var envVarName = configEnv[fieldName];
var envVarValue = process.env[envVarName];
if (envVarValue) {
program[fieldName] = envVarValue;
program[fieldName] = envVarValue; // eslint-disable-line no-param-reassign
}
});
}
2 changes: 1 addition & 1 deletion src/server/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function getEnvConfig(program, configEnv) {
const envVarName = configEnv[fieldName];
const envVarValue = process.env[envVarName];
if (envVarValue) {
program[fieldName] = envVarValue;
program[fieldName] = envVarValue; // eslint-disable-line no-param-reassign
}
});
}

0 comments on commit 6322d35

Please sign in to comment.