mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: script: 修复脚本回显错误的问题
This commit is contained in:
1 parent
12c43a9635
commit
6c6a0df0f0
4 files changed
+21
-16
No files matched your search
@@ -128,7 +128,8 @@ async function runInDomain(domainId: string, isSub: boolean, report: Function) {
|
||||
for (const dudoc of dudocs) {
|
||||
deltaudict[dudoc.uid] = dudoc.rpdelta || 0;
|
||||
}
|
||||
const contests = await contest.getMulti(domainId, { rated: true }).sort('endAt', -1).toArray();
|
||||
const contests = await contest.getMulti(domainId, { rated: true })
|
||||
.sort('endAt', -1).toArray();
|
||||
await report({ message: `Found ${contests.length} contests in ${domainId}` });
|
||||
for (const i in contests) {
|
||||
const tdoc = contests[i];
|
||||
|
||||
Reference in new issue
Block a user