Skip to content

Commit 4926117

Browse files
authored
chore: sort questions by no.
1 parent 750d8a4 commit 4926117

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { updateQuizREADME, updateIndexREADME } from "./readme"
44

55
export async function build() {
66
const quizes = await loadQuizes()
7+
quizes.sort((a, b) => a.no - b.no)
78
await updateQuizREADME(quizes)
89
await updateIndexREADME(quizes)
910
}

0 commit comments

Comments
 (0)