CS fixes
parent
41a9357d4b
commit
ba53a2d0e6
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue