Skip to content

Commit

Permalink
Bugfix: Composer broken in 0.6.0 update
Browse files Browse the repository at this point in the history
After the 0.6.0 update, Composer's `scripts/post-install-cmd` and `scripts/post-update-cmd` were no longer running.

This was due to PHP _exiting_ outright rather than _returning_ the `$exitCode`.
  • Loading branch information
BrianHenryIE authored Jan 28, 2020
1 parent 2a57571 commit 2d28826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function onDependenciesChangedEvent()
}
}

exit($exitCode);
return $exitCode;
}

/**
Expand Down

0 comments on commit 2d28826

Please sign in to comment.