1
0
Fork 0
pull/6734/merge
Jordi Boggiano 2017-11-03 17:20:26 +01:00
parent 41a9357d4b
commit ba53a2d0e6
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class Application extends BaseApplication
if ($this->has($script)) { if ($this->has($script)) {
$io->writeError('<warning>A script named '.$script.' would override a Composer command and has been skipped</warning>'); $io->writeError('<warning>A script named '.$script.' would override a Composer command and has been skipped</warning>');
} else { } else {
$description = isset($composer['extra']['scripts-description'][$script]) ? $composer['extra']['scripts-description'][$script]:NULL; $description = isset($composer['extra']['scripts-description'][$script]) ? $composer['extra']['scripts-description'][$script] : null;
$this->add(new Command\ScriptAliasCommand($script, $description)); $this->add(new Command\ScriptAliasCommand($script, $description));
} }
} }