Skip to content

Commit 81b9f23

Browse files
authored
Update MigrateGenerateCommand.php
Using --ignore option doesn't work (ErrorException) because "$" is missed
1 parent e04d37b commit 81b9f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OscarAFDev/MigrationsGenerator/MigrateGenerateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ protected function getExcludedTables()
396396
$excludes = ['migrations'];
397397
$ignore = $this->option('ignore');
398398
if ( ! empty($ignore)) {
399-
return array_merge($excludes, preg_split('/[,\s]+/', ignore));
399+
return array_merge($excludes, preg_split('/[,\s]+/', $ignore));
400400
}
401401

402402
return $excludes;

0 commit comments

Comments
 (0)