mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Merge pull request #261 from deployphp/fix/misleading-error-message
Misleading error message
This commit is contained in:
commit
92b36370d1
@ -58,6 +58,7 @@ task('deploy:prepare', function () {
|
||||
|
||||
// Check if shell is POSIX-compliant
|
||||
try {
|
||||
cd(''); // To run command as raw.
|
||||
run('echo $0');
|
||||
} catch (\RuntimeException $e) {
|
||||
$formatter = \Deployer\Deployer::get()->getHelper('formatter');
|
||||
|
Loading…
x
Reference in New Issue
Block a user