1
0
Fork 0
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:
Jordi Boggiano 2014-03-23 23:05:03 +01:00
parent b9efdd8348
commit e221757197

View file

@ -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'));
}
}
}