Skip to content

Commit

Permalink
Merge pull request #221 from sideshowcoder/fix-web-option-parsing
Browse files Browse the repository at this point in the history
Parse --web option correctly
  • Loading branch information
gordalina committed Dec 30, 2022
2 parents 7fbc144 + 8ef9707 commit eedac2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Application.php
Expand Up @@ -198,7 +198,7 @@ private function parseConfiguration(InputInterface $input)
}
} elseif ($input->hasParameterOption('--web')) {
$this->config['adapter'] = 'web';
$this->config['webClient'] = $input->getParameterOption('--web');
$this->config['webClient'] = $input->getOption('web') ?? 'FileGetContents';
$this->config['webPath'] = $input->getParameterOption('--web-path');
$this->config['webUrl'] = $input->getParameterOption('--web-url');

Expand Down

0 comments on commit eedac2f

Please sign in to comment.