Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private function getEnvValues(array $envMap)
$params = array();
foreach ($envMap as $param => $env) {
$value = getenv($env);
if ($value) {
if ($value !== false) {
$params[$param] = Inline::parse($value);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ parameters:
foo: bar
boolean: false
another: ~
empty: nonempty
nested:
foo: bar
bar: baz
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:
foo: foobar
boolean: true
another: null
empty: ''
nested:
foo: env_foo
bar:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ config:
foo: IC_TEST_FOO
nested: IC_TEST_NESTED
another: IC_TEST_NOT_SET
empty: IC_TEST_EMPTY

environment:
IC_TEST_BOOL: 'true'
IC_TEST_FOO: 'foobar'
IC_TEST_NESTED: '{foo: env_foo, bar: [env, test, null]}'
IC_TEST_EMPTY: ''