Skip to content

Commit 4961515

Browse files
hotfix
1 parent ff85b54 commit 4961515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Flex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public function install(Event $event = null)
483483
$this->io->writeError('');
484484

485485
if (!$recipes) {
486-
if (ScriptEvents::POST_UPDATE_CMD === $event->getName()) {
486+
if (null !== $event && ScriptEvents::POST_UPDATE_CMD === $event->getName()) {
487487
$this->synchronizePackageJson($rootDir);
488488
}
489489
$this->lock->write();

0 commit comments

Comments
 (0)