Skip to content

Commit

Permalink
Merge pull request #9 from graze/fix-chop
Browse files Browse the repository at this point in the history
Fix problem where chop was always chopping everything
  • Loading branch information
biggianteye authored Nov 14, 2018
2 parents 206ba28 + 21f0f79 commit 067c18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/ChopCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$config = (new Config())->parse($input->getOption('config'));
$group = $input->getOption('group') ?: $config->get(Config::CONFIG_DEFAULT_GROUP);

$tablePopulator = $input->getOption(static::OPTION_CONFIG)
$tablePopulator = $input->getOption(static::OPTION_ALL)
? new DbTablePopulator()
: new FileTablePopulator(new Local('/'));
$schemaParser = new SchemaParser($tablePopulator, $config, $group);
Expand Down

0 comments on commit 067c18b

Please sign in to comment.