Skip to content

Commit bbd6304

Browse files
authored
Fix: Skip Argument is Failing in L10 (#1079)
* Fix Skip Argv * Update src/Commands/BaseCommand.php
1 parent 622e546 commit bbd6304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/BaseCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function runMigration(): bool
186186
public function isSkip($skip): bool
187187
{
188188
if ($this->option('skip')) {
189-
return in_array($skip, (array) $this->option('skip'));
189+
return in_array($skip, explode(',', $this->option('skip') ?? ''));
190190
}
191191

192192
return false;

0 commit comments

Comments
 (0)