mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Update code to latest EventDispatcher, refs #2722
This commit is contained in:
parent
b9efdd8348
commit
e221757197
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ EOT
|
|||
if (in_array($script, $this->commandEvents)) {
|
||||
$this->getComposer()->getEventDispatcher()->dispatchCommandEvent($script, $input->getOption('dev') || !$input->getOption('no-dev'));
|
||||
} else {
|
||||
$this->getComposer()->getEventDispatcher()->dispatchScript($script);
|
||||
$this->getComposer()->getEventDispatcher()->dispatchScript($script, $input->getOption('dev') || !$input->getOption('no-dev'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue