Skip to content

Commit

Permalink
Fix environment variable detection (#235) (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
prineshaz authored and jmolivas committed Sep 30, 2017
1 parent 7893f61 commit ce3343b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Chain/ChainCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function($value) {
$environmentPlaceHolders = $this->chainDiscovery->extractEnvironmentPlaceHolders($chainContent);
$envPlaceHolderMap = [];
$missingEnvironmentPlaceHolders = [];
foreach ($environmentPlaceHolders as $envPlaceHolder => $envPlaceHolderValue) {
foreach ($environmentPlaceHolders as $envPlaceHolder) {
if (!getenv($envPlaceHolder)) {
$missingEnvironmentPlaceHolders[$envPlaceHolder] = sprintf(
'export %s=%s_VALUE',
Expand Down

0 comments on commit ce3343b

Please sign in to comment.