We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a05e86 commit 5e8519dCopy full SHA for 5e8519d
src/pilot.ts
@@ -45,6 +45,12 @@ export function migrate(
45
return clonedSource as MigrateSource
46
}
47
48
+ versions = versions.filter(
49
+ (version) => Number.isInteger(version.version) && version.version > 0
50
+ )
51
+
52
+ versions = versions.sort((a, b) => a.version - b.version)
53
54
for (const version of versions) {
55
if (version.version <= clonedSource.__pilot.version) {
56
continue
0 commit comments