Skip to content

Commit

Permalink
Fix --intl-icu option
Browse files Browse the repository at this point in the history
`--intl-icu` option was never interpreted because of a misuse of InputInterface::hasParameterOption
  • Loading branch information
adriendupuis committed Jul 28, 2021
1 parent 4883c2e commit 60e9123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/ExtractTranslationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private function updateWithInput(InputInterface $input, ConfigBuilder $builder)
$builder->setOutputFormat($outputFormat);
}

if ($input->hasParameterOption('intl-icu')) {
if ($input->hasParameterOption('--intl-icu')) {
$builder->setUseIcuMessageFormat(true);
}

Expand Down

0 comments on commit 60e9123

Please sign in to comment.