diff --git a/src/Command/NormalizeCommand.php b/src/Command/NormalizeCommand.php index a20cfd2b..6bd7835f 100644 --- a/src/Command/NormalizeCommand.php +++ b/src/Command/NormalizeCommand.php @@ -523,8 +523,8 @@ private static function updateLockerInWorkingDirectory( '--ignore-platform-reqs' => true, '--lock' => true, '--no-autoloader' => true, - '--no-plugins' => true, - '--no-scripts' => true, + '--no-plugins' => $input->getOption('no-plugins'), + '--no-scripts' => $input->getOption('no-scripts'), '--working-dir' => $workingDirectory, ];