mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
workspace: upgrade deps
This commit is contained in:
1 parent
1c3dc161b6
commit
8cffe19609
17 files changed
+110
-98
No files matched your search
@@ -1,10 +1,9 @@
|
||||
/* eslint-disable no-await-in-loop */
|
||||
import { JSDOM } from 'jsdom';
|
||||
import { flattenDeep } from 'lodash';
|
||||
import superagent from 'superagent';
|
||||
import proxy from 'superagent-proxy';
|
||||
import {
|
||||
Logger, SettingModel, sleep, STATUS,
|
||||
_, Logger, SettingModel, sleep, STATUS,
|
||||
} from 'hydrooj';
|
||||
import { IBasicProvider, RemoteAccount } from '../interface';
|
||||
|
||||
@@ -151,7 +150,7 @@ export default class LuoguProvider implements IBasicProvider {
|
||||
});
|
||||
}
|
||||
logger.info('Fetched with length', JSON.stringify(body).length);
|
||||
const total = flattenDeep(body.currentData.testCaseGroup).length;
|
||||
const total = _.flattenDeep(body.currentData.testCaseGroup).length;
|
||||
// TODO sorted
|
||||
if (!data.detail.judgeResult?.subtasks) continue;
|
||||
for (const key in data.detail.judgeResult.subtasks) {
|
||||
|
||||
Reference in new issue
Block a user