Skip to content

Commit

Permalink
Force should be called once on the parent command.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 14, 2015
1 parent e06efb5 commit 954c2d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Console/RefreshCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ public function handle()
$driver = $this->argument('driver');
$database = $this->option('database');
$id = $this->option('id');
$force = $this->option('force');

$parameters = ['driver' => $driver, '--database' => $database, '--force' => $force, '--id' => $id];
$parameters = ['driver' => $driver, '--database' => $database, '--force' => true, '--id' => $id];

$this->call('tenanti:reset', $parameters);

Expand Down

0 comments on commit 954c2d9

Please sign in to comment.