Skip to content

Commit

Permalink
chore: command const
Browse files Browse the repository at this point in the history
  • Loading branch information
jevantang committed Nov 26, 2022
1 parent 48c619c commit 72e4f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Workaround/SeedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(Resolver $resolver)
public function handle()
{
if (! $this->confirmToProceed()) {
return 1;
return Command::FAILURE;
}

$previousConnection = $this->resolver->getDefaultConnection();
Expand Down
2 changes: 1 addition & 1 deletion src/Workaround/TestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function handle()

if ($this->option('parallel') && ! $this->isParallelDependenciesInstalled()) {
if (! $this->confirm('Running tests in parallel requires "brianium/paratest". Do you wish to install it as a dev dependency?')) {
return 1;
return Command::FAILURE;
}

$this->installParallelDependencies();
Expand Down

0 comments on commit 72e4f77

Please sign in to comment.