Skip to content

Commit 9ebed55

Browse files
committed
Only match .elm ending files in migrations
1 parent 19757a3 commit 9ebed55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra/Lamdera/Evergreen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ findMigrationFilePaths :: FilePath -> IO [FilePath]
3030
findMigrationFilePaths root = do
3131
debug_ $ "Reading src/Evergreen/Migrate to determine migrationSequence"
3232
paths <- safeListDirectory $ root </> "src/Evergreen/Migrate"
33-
let migrationFilePaths = paths & filter (\p -> not $ ".bk" `isInfixOf` p)
33+
let migrationFilePaths = paths & filter (\p -> ".elm" `isSuffixOf` p)
3434
debug_ $ "migrationFilePaths:" <> show migrationFilePaths
3535
pure migrationFilePaths
3636

0 commit comments

Comments
 (0)