mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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,
|
ContestNotLiveError, ValidationError, ProblemNotFoundError,
|
||||||
ContestNotAttendedError, PermissionError, BadRequestError,
|
ContestNotAttendedError, PermissionError, BadRequestError,
|
||||||
ContestNotFoundError, InvalidTokenError, RecordNotFoundError,
|
ContestNotFoundError, InvalidTokenError, RecordNotFoundError,
|
||||||
NotFoundError,
|
|
||||||
} from '../error';
|
} from '../error';
|
||||||
import { ProblemDoc, Tdoc, User } from '../interface';
|
import { ProblemDoc, Tdoc, User } from '../interface';
|
||||||
import paginate from '../lib/paginate';
|
import paginate from '../lib/paginate';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { Time } from '@hydrooj/utils/lib/utils';
|
|||||||
import { lookup } from 'mime-types';
|
import { lookup } from 'mime-types';
|
||||||
import {
|
import {
|
||||||
ValidationError, HomeworkNotLiveError, ProblemNotFoundError,
|
ValidationError, HomeworkNotLiveError, ProblemNotFoundError,
|
||||||
HomeworkNotAttendedError, BadRequestError, NotFoundError,
|
HomeworkNotAttendedError, BadRequestError,
|
||||||
} from '../error';
|
} from '../error';
|
||||||
import {
|
import {
|
||||||
PenaltyRules, Tdoc, ProblemDoc, User,
|
PenaltyRules, Tdoc, ProblemDoc, User,
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
import { pick } from 'lodash';
|
import { pick } from 'lodash';
|
||||||
import { lookup } from 'mime-types';
|
import { lookup } from 'mime-types';
|
||||||
import {
|
import {
|
||||||
BadRequestError, ForbiddenError, NotFoundError,
|
BadRequestError, ForbiddenError, ValidationError,
|
||||||
ValidationError,
|
|
||||||
} from '../error';
|
} from '../error';
|
||||||
import { sortFiles } from '../utils';
|
import { sortFiles } from '../utils';
|
||||||
import { PRIV } from '../model/builtin';
|
import { PRIV } from '../model/builtin';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { lookup } from 'mime-types';
|
|||||||
import {
|
import {
|
||||||
NoProblemError, PermissionError, ValidationError,
|
NoProblemError, PermissionError, ValidationError,
|
||||||
SolutionNotFoundError, ProblemNotFoundError, BadRequestError,
|
SolutionNotFoundError, ProblemNotFoundError, BadRequestError,
|
||||||
ForbiddenError, NotFoundError,
|
ForbiddenError,
|
||||||
} from '../error';
|
} from '../error';
|
||||||
import {
|
import {
|
||||||
ProblemDoc, User, ProblemStatusDoc,
|
ProblemDoc, User, ProblemStatusDoc,
|
||||||
|
|||||||
Reference in new issue
Block a user