Skip to content

Commit 615ef1b

Browse files
committed
Use config instead of env helper method
1 parent 81be71f commit 615ef1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LaravelDeployer/Commands/BaseCommand.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ public function process(string $command)
121121

122122
public function isTtySupported()
123123
{
124-
return ! (env('APP_ENV') === 'testing')
125-
&& Process::isTtySupported();
124+
return config('app.env') !== 'testing' && Process::isTtySupported();
126125
}
127126
}

0 commit comments

Comments
 (0)