Skip to content

Commit

Permalink
avoid default dirs to make run under control
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 16, 2023
1 parent 739792d commit 9903d3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Console/Command/SwitchFormatCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ protected function configure(): void
$this->addArgument(
Option::SOURCES,
InputArgument::OPTIONAL | InputArgument::IS_ARRAY,
'Path to directory/file with configs',
// 99 % of symfony project has this directory
[getcwd() . '/config', getcwd() . '/app/config']
'Path to directory/file with configs'
);

$this->addOption(Option::DRY_RUN, null, InputOption::VALUE_NONE, 'Dry run - no removal or config change');
Expand Down

0 comments on commit 9903d3e

Please sign in to comment.