1
0
Fork 0

Update Installer.php

This commit is contained in:
Shlee 2020-02-16 19:34:36 +08:00 committed by GitHub
parent a5117fcfa3
commit 2a82788ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class Installer extends Command
$envPath = app()->environmentFilePath();
$payload = file_get_contents($envPath);
if ($existing == $this->existingEnv($key, $payload)) {
if ($existing = $this->existingEnv($key, $payload)) {
$payload = str_replace("{$key}={$existing}", "{$key}=\"{$value}\"", $payload);
$this->storeEnv($payload);
} else {