Skip to content

Commit 1f2cefa

Browse files
committed
fix: fix script migrations order
1 parent 0a43009 commit 1f2cefa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/framework/src/migrations/migrator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export abstract class Migrator {
139139
cwd: basePath,
140140
ignore: ["**/index.{js,ts}", "**/*.d.ts"],
141141
})
142+
scriptFiles.sort((a, b) => a.localeCompare(b))
142143

143144
if (!scriptFiles?.length) {
144145
continue

0 commit comments

Comments
 (0)