mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: remove unused vars
This commit is contained in:
1 parent
d37f485e30
commit
59d4bcf620
4 files changed
+3
-5
No files matched your search
@@ -7,7 +7,6 @@ import {
|
||||
ContestNotLiveError, ValidationError, ProblemNotFoundError,
|
||||
ContestNotAttendedError, PermissionError, BadRequestError,
|
||||
ContestNotFoundError, InvalidTokenError, RecordNotFoundError,
|
||||
NotFoundError,
|
||||
} from '../error';
|
||||
import { ProblemDoc, Tdoc, User } from '../interface';
|
||||
import paginate from '../lib/paginate';
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Time } from '@hydrooj/utils/lib/utils';
|
||||
import { lookup } from 'mime-types';
|
||||
import {
|
||||
ValidationError, HomeworkNotLiveError, ProblemNotFoundError,
|
||||
HomeworkNotAttendedError, BadRequestError, NotFoundError,
|
||||
HomeworkNotAttendedError, BadRequestError,
|
||||
} from '../error';
|
||||
import {
|
||||
PenaltyRules, Tdoc, ProblemDoc, User,
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
import { pick } from 'lodash';
|
||||
import { lookup } from 'mime-types';
|
||||
import {
|
||||
BadRequestError, ForbiddenError, NotFoundError,
|
||||
ValidationError,
|
||||
BadRequestError, ForbiddenError, ValidationError,
|
||||
} from '../error';
|
||||
import { sortFiles } from '../utils';
|
||||
import { PRIV } from '../model/builtin';
|
||||
|
||||
@@ -6,7 +6,7 @@ import { lookup } from 'mime-types';
|
||||
import {
|
||||
NoProblemError, PermissionError, ValidationError,
|
||||
SolutionNotFoundError, ProblemNotFoundError, BadRequestError,
|
||||
ForbiddenError, NotFoundError,
|
||||
ForbiddenError,
|
||||
} from '../error';
|
||||
import {
|
||||
ProblemDoc, User, ProblemStatusDoc,
|
||||
|
||||
Reference in new issue
Block a user