There was an error while loading. Please reload this page.
1 parent 9a21b86 commit 15580f6Copy full SHA for 15580f6
1 file changed
src/Commands/GenerateConfig.php
@@ -53,7 +53,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
53
try {
54
/** @var string|null $fileName */
55
$fileName = is_string($input->getOption('filename')) ? $input->getOption('filename') : null;
56
- $this->allowedLicensesParser->writeConfiguration(array_values($usedLicenses), $fileName);
+ $this->allowedLicensesParser->writeConfiguration($usedLicenses, $fileName);
57
$io->success('Configuration file successfully written');
58
} catch (ConfigurationExists $e) {
59
$io->error('The configuration file already exists. Please remove it before generating a new one.');
0 commit comments