Skip to content

Commit

Permalink
Add false as an option to prevent installers from being disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomscode committed Feb 9, 2018
1 parent 3806135 commit c3c5297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Installers/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ protected function removeDisabledInstallers()
{
$extra = $this->composer->getPackage()->getExtra();

if (!isset($extra['installer-disable'])) {
if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) {
// No installers are disabled
return;
}
Expand Down

0 comments on commit c3c5297

Please sign in to comment.