Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed typos

  • Loading branch information...
commit e5e3e4758bfe4dd5fab74bccf9418888d1492691 1 parent cc4eda1
@fabpot fabpot authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Composer/ScriptHandler.php
View
4 Composer/ScriptHandler.php
@@ -134,7 +134,7 @@ protected static function executeCommand($event, $appDir, $cmd, $timeout = 300)
$process = new Process($php.' '.$console.' '.$cmd, null, null, null, $timeout);
$process->run(function ($type, $buffer) { echo $buffer; });
if (!$process->isSuccessful()) {
- throw new \RuntimeException(sprintf('An error occurred when executing the "%s" command', escapeshellarg($cmd)));
+ throw new \RuntimeException(sprintf('An error occurred when executing the "%s" command.', escapeshellarg($cmd)));
}
}
@@ -147,7 +147,7 @@ protected static function executeBuildBootstrap($appDir, $timeout = 300)
$process = new Process($php.' '.$cmd.' '.$appDir, null, null, null, $timeout);
$process->run(function ($type, $buffer) { echo $buffer; });
if (!$process->isSuccessful()) {
- throw new \RuntimeException('An error ocurred when generating the bootstrap file.');
+ throw new \RuntimeException('An error occurred when generating the bootstrap file.');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.