Skip to content

Commit

Permalink
Respect no-plugins/no-scripts option value
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 authored and localheinz committed Aug 11, 2023
1 parent b714156 commit 584f618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/NormalizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];

Expand Down

0 comments on commit 584f618

Please sign in to comment.