Skip to content
Snippets Groups Projects
Commit b8299b55 authored by jurgenhaas's avatar jurgenhaas
Browse files

#6 Fix missing user input value

parent 4bfc6e8c
No related branches found
No related tags found
1 merge request!8composer/library/composer-json-utils#6 Fix missing user input value
Pipeline #757608 passed
......@@ -99,7 +99,7 @@ final class Dotenv {
if (!empty($prompt) && $this->io->isInteractive()) {
$value = $this->io->ask($prompt . ': ');
}
if ($value === FALSE) {
if ($value === FALSE || $value === NULL) {
$value = $default;
}
$this->put($key, $value, TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment