Merge pull request 'ignore .gitkeep files in migrations folder' (!2) from fix-migration into master
rvr-nextgen/pipeline/head This commit looks good

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
bence authored and Gitea committed 2023-04-08 02:54:09 +02:00
commit 545e5b39ac
1 file changed
+1 -1
+1 -1
View File
@@ -96,7 +96,7 @@ class MigrateDatabaseCommand extends Command
while ($file = readdir($dir)) {
$filePath = $path . '/' . $file;
if (!is_file($filePath) || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) {
if (!is_file($filePath) || pathinfo($file, PATHINFO_FILENAME) == '.gitkeep' || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) {
continue;
}