Merge pull request #261 from deployphp/fix/misleading-error-message

Misleading error message
This commit is contained in:
Anton Medvedev 2015-05-19 15:06:36 +07:00
commit 92b36370d1

View File

@ -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');