Skip to content

Commit 8035f2d

Browse files
committed
Fix archive version comparison
1 parent c34aa68 commit 8035f2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/archive/+page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const load: PageLoad = async ({ fetch }) => {
1010

1111
for (const str in stats.builds) {
1212
const version = parse(str)!
13-
if (version > latest) latest = version
13+
if (version.compare(latest) > 0) latest = version
1414
}
1515

1616
for (const str in stats.builds) {

0 commit comments

Comments
 (0)