Skip to content

Commit

Permalink
fix for not having envVar in actual deployment config
Browse files Browse the repository at this point in the history
- returning false values leads to exiting iteration too early
  • Loading branch information
robinfehr committed Sep 20, 2019
1 parent 70aa01b commit 0a76fec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/parseCFSummaryIntoDeploymentConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ module.exports = (summaryJSON) => {
name: app.name,
unversionedName: unversionedName
};
_.forIn(app.environment_json, (value, key) => env.env[key] = value);
_.forIn(app.environment_json, (value, key) => {
env.env[key] = value;
});
actual.envVars.push(env);

_.forEach(app.routes, (route) => {
Expand Down

0 comments on commit 0a76fec

Please sign in to comment.