Skip to content

Commit

Permalink
Merge pull request #21 from gpslab/analysis-64V9JP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
peter-gribanov committed Jan 21, 2020
2 parents 5a21749 + e5a5648 commit fdba2f2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,7 @@ protected static function executeCommand(Event $event, $console_dir, $cmd, $time
});

if (!$process->isSuccessful()) {
throw new \RuntimeException(sprintf(
"An error occurred when executing the \"%s\" command:\n\n%s\n\n%s.",
escapeshellarg($cmd),
$process->getOutput(),
$process->getErrorOutput()
));
throw new \RuntimeException(sprintf("An error occurred when executing the \"%s\" command:\n\n%s\n\n%s.", escapeshellarg($cmd), $process->getOutput(), $process->getErrorOutput()));
}
}

Expand Down

0 comments on commit fdba2f2

Please sign in to comment.