We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff85b54 commit 4961515Copy full SHA for 4961515
src/Flex.php
@@ -483,7 +483,7 @@ public function install(Event $event = null)
483
$this->io->writeError('');
484
485
if (!$recipes) {
486
- if (ScriptEvents::POST_UPDATE_CMD === $event->getName()) {
+ if (null !== $event && ScriptEvents::POST_UPDATE_CMD === $event->getName()) {
487
$this->synchronizePackageJson($rootDir);
488
}
489
$this->lock->write();
0 commit comments