Skip to content

Commit

Permalink
Merge pull request #261 from deployphp/fix/misleading-error-message
Browse files Browse the repository at this point in the history
Misleading error message
  • Loading branch information
Anton Medvedev committed May 19, 2015
2 parents 067bbe5 + a85b8a0 commit 92b3637
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipe/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

// 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');
Expand Down

0 comments on commit 92b3637

Please sign in to comment.