浏览代码

Merge pull request #3561 from shleeable/patch-1

Installer.php minor fixes
daniel 3 年之前
父节点
当前提交
8e874eb2e2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Console/Commands/Installer.php

+ 2 - 2
app/Console/Commands/Installer.php

@@ -154,7 +154,7 @@ class Installer extends Command
             }
         }
 
-        $continue = $this->choice('Do you wish to continue?', ['no', 'yes'], 0);
+        $continue = $this->choice('Do you wish to continue?', ['yes', 'no'], 0);
         $this->continue = $continue;
         if ($this->continue === 'no') {
             $this->info('Exiting Installer.');
@@ -457,7 +457,7 @@ class Installer extends Command
 
         if ($existing = $this->existingEnv($key, $payload)) {
         } else {
-            $this->info("$key empty - $error");
+            $this->error("$key empty - $error");
         }
     }