We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f168201 commit 63fe2faCopy full SHA for 63fe2fa
src/EnvironmentSetCommand.php
@@ -59,7 +59,7 @@ public function handle(): void
59
if ($isNewVariableSet) {
60
$this->info("A new environment variable with key '{$key}' has been set to '{$value}'");
61
} else {
62
- [$_, $oldValue] = explode('=', $this->readKeyValuePair($content, $key));
+ [$_, $oldValue] = explode('=', $this->readKeyValuePair($content, $key), 2);
63
$this->info("Environment variable with key '{$key}' has been changed from '{$oldValue}' to '{$value}'");
64
}
65
0 commit comments