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.
2 parents ed1626b + 7d59bcd commit c5f09a2Copy full SHA for c5f09a2
src/Flex.php
@@ -986,7 +986,10 @@ private function unpack(Event $event)
986
private function reinstall(Event $event, bool $update)
987
{
988
$event->stopPropagation();
989
- $composer = Factory::create($this->io);
+
990
+ $ed = $composer->getEventDispatcher();
991
+ $disableScripts = !method_exists($ed, 'setRunScripts') || !((array) $ed)["\0*\0runScripts"];
992
+ $composer = Factory::create($this->io, null, false, $disableScripts);
993
994
$installer = clone $this->installer;
995
$installer->__construct(
0 commit comments