Skip to content

Commit

Permalink
Fix: Skip Argument is Failing in L10 (#1079)
Browse files Browse the repository at this point in the history
* Fix Skip Argv

* Update src/Commands/BaseCommand.php
  • Loading branch information
robertmarney committed Apr 19, 2023
1 parent 622e546 commit bbd6304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/BaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function runMigration(): bool
public function isSkip($skip): bool
{
if ($this->option('skip')) {
return in_array($skip, (array) $this->option('skip'));
return in_array($skip, explode(',', $this->option('skip') ?? ''));
}

return false;
Expand Down

0 comments on commit bbd6304

Please sign in to comment.