Skip to content

Commit

Permalink
Fix typo in reading --resources-init option
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcdawkins authored Dec 1, 2023
1 parent 230f8ca commit c04a058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Environment/EnvironmentPushCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->debug(sprintf('Source revision: %s', $sourceRevision));

// Validate the --resources-init option.
$resourcesInit = $input->hasOption('resource-init') ? $input->getOption('resources-init') : null;
$resourcesInit = $input->hasOption('resources-init') ? $input->getOption('resources-init') : null;
$resourcesInitOptions = ['default', 'parent', 'minimum', 'manual'];
if ($resourcesInit !== null && !\in_array($resourcesInit, $resourcesInitOptions, true)) {
$this->stdErr->writeln('The value for <error>--resources-init</error> must be one of: ' . \implode(', ', $resourcesInitOptions));
Expand Down

0 comments on commit c04a058

Please sign in to comment.