migrate: jnoj: move groups at import

This commit is contained in:
undefined committed 2025-12-17 04:01:05 +08:00
1 parent ea6bc0b5ed
commit 34f44fada1
2 files changed
+39 -8

No files matched your search

+2
View File
@@ -43,6 +43,8 @@ export function apply(ctx: Context) {
dataDir: Schema.string().default('/www/jnoj/jnoj/judge/data/'),
uploadDir: Schema.string().default('/www/jnoj/jnoj/web/uploads/'),
withContest: Schema.boolean().default(true),
keepGroups: Schema.string().default(''),
hideExtraGroup: Schema.boolean().default(false),
}),
checkLock((...args) => require('./scripts/jnoj').run(...args)),
);