File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
system/Commands/Utilities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public function run(array $params)
79
79
{
80
80
if ($ params === [])
81
81
{
82
- CLI ::write (sprintf ('Your environment is currently set as %s. ' , CLI ::color (ENVIRONMENT , 'green ' )));
82
+ CLI ::write (sprintf ('Your environment is currently set as %s. ' , CLI ::color ($ _SERVER [ ' CI_ENVIRONMENT ' ] ?? ENVIRONMENT , 'green ' )));
83
83
CLI ::newLine ();
84
84
85
85
return ;
@@ -119,7 +119,7 @@ public function run(array $params)
119
119
(new DotEnv (ROOTPATH ))->load ();
120
120
121
121
CLI ::write (sprintf ('Environment is successfully changed to "%s". ' , $ env ), 'green ' );
122
- CLI ::write ('The ENVIRONMENT constant will be changed on the next script execution. ' );
122
+ CLI ::write ('The ENVIRONMENT constant will be changed in the next script execution. ' );
123
123
CLI ::newLine ();
124
124
}
125
125
You can’t perform that action at this time.
0 commit comments