From b5f698c5abe2c2742ecaa2787e3c3f636a81f292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 7 Nov 2019 21:35:10 +0100 Subject: [PATCH] Fix tests --- src/Traits/DealsWithMigrations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/DealsWithMigrations.php b/src/Traits/DealsWithMigrations.php index b2c56515..a51bfa57 100644 --- a/src/Traits/DealsWithMigrations.php +++ b/src/Traits/DealsWithMigrations.php @@ -8,7 +8,7 @@ trait DealsWithMigrations { protected function getMigrationPaths() { - if ($this->input->hasOption('path')) { + if ($this->input->hasOption('path') && $this->input->getOption('path')) { return parent::getMigrationPaths(); }