From 584f61828effedfdeebaf5e96759143c1aef493f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dezs=C5=91=20BICZ=C3=93?= Date: Tue, 1 Aug 2023 12:09:26 +0200 Subject: [PATCH] Respect no-plugins/no-scripts option value --- src/Command/NormalizeCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ];