diff --git a/src/Migration.php b/src/Migration.php index fcc8e41..536867f 100644 --- a/src/Migration.php +++ b/src/Migration.php @@ -184,7 +184,7 @@ public function getFileContent($file) "checksum" => null, "content" => null, ]; - if (!file_exists($file)) { + if (empty($file) || !file_exists($file)) { return $data; }