Merge pull request #1088 from deployphp/analysis-qJbK7V

Apply fixes from StyleCI
This commit is contained in:
Anton Medvedev 2017-03-12 14:33:22 +07:00 committed by GitHub
commit ea2cb5aaee

View File

@ -97,7 +97,6 @@ class NativeSsh implements ServerInterface
if (0 !== $process->wait()) {
throw new ProcessFailedException($process);
}
} catch (ProcessFailedException $exception) {
$errorMessage = \Deployer\isDebug() ? $exception->getMessage() : $process->getErrorOutput();
throw new \RuntimeException($errorMessage);