Skip to content

Commit c6ac1b4

Browse files
Use post install/update events
1 parent 7d83045 commit c6ac1b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ComposerPlugin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ public function activate(Composer $composer, IOInterface $io): void
8787
public static function getSubscribedEvents(): array
8888
{
8989
return [
90-
ScriptEvents::POST_AUTOLOAD_DUMP => 'installHooks'
90+
ScriptEvents::POST_INSTALL_CMD => 'installHooks',
91+
ScriptEvents::POST_UPDATE_CMD => 'installHooks'
9192
];
9293
}
9394

0 commit comments

Comments
 (0)