Skip to content

Commit

Permalink
Merge pull request #21 from ajthinking/patch-1
Browse files Browse the repository at this point in the history
More forgiving ignore option
  • Loading branch information
oscarafdev authored Apr 6, 2020
2 parents dab2a84 + c896b3c commit 14f790d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ protected function getExcludedTables()
$excludes = ['migrations'];
$ignore = $this->option('ignore');
if ( ! empty($ignore)) {
return array_merge($excludes, explode(',', $ignore));
return array_merge($excludes, preg_split('/[,\s]+/', ignore));
}

return $excludes;
Expand Down

0 comments on commit 14f790d

Please sign in to comment.