judge: fix maxBy

This commit is contained in:
undefined committed 2021-04-20 22:03:56 +08:00
1 parent a7fd32cac9
commit 8739bd5688
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
import fs from 'fs-extra'; import fs from 'fs-extra';
import path from 'path'; import path from 'path';
import yaml from 'js-yaml'; import yaml from 'js-yaml';
import { max, maxBy, sum } from 'lodash'; import { max, sum } from 'lodash';
import readYamlCases, { convertIniConfig } from '@hydrooj/utils/lib/cases'; import readYamlCases, { convertIniConfig } from '@hydrooj/utils/lib/cases';
import { changeErrorType } from '@hydrooj/utils/lib/utils'; import { changeErrorType } from '@hydrooj/utils/lib/utils';
import { FormatError, SystemError } from './error'; import { FormatError, SystemError } from './error';