Update code to latest EventDispatcher, refs #2722
parent
b9efdd8348
commit
e221757197
|
@ -80,7 +80,7 @@ EOT
|
||||||
if (in_array($script, $this->commandEvents)) {
|
if (in_array($script, $this->commandEvents)) {
|
||||||
$this->getComposer()->getEventDispatcher()->dispatchCommandEvent($script, $input->getOption('dev') || !$input->getOption('no-dev'));
|
$this->getComposer()->getEventDispatcher()->dispatchCommandEvent($script, $input->getOption('dev') || !$input->getOption('no-dev'));
|
||||||
} else {
|
} else {
|
||||||
$this->getComposer()->getEventDispatcher()->dispatchScript($script);
|
$this->getComposer()->getEventDispatcher()->dispatchScript($script, $input->getOption('dev') || !$input->getOption('no-dev'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue