From 3245eaace82b2279812c1b9b6113116927606698 Mon Sep 17 00:00:00 2001 From: undefined Date: Wed, 29 Dec 2021 18:31:49 +0800 Subject: [PATCH] core: remove unused vars --- packages/hydrooj/src/handler/misc.ts | 1 - packages/hydrooj/src/handler/problem.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/hydrooj/src/handler/misc.ts b/packages/hydrooj/src/handler/misc.ts index 2344d7577..cf70a90d7 100644 --- a/packages/hydrooj/src/handler/misc.ts +++ b/packages/hydrooj/src/handler/misc.ts @@ -1,7 +1,6 @@ /* eslint-disable camelcase */ import { statSync } from 'fs'; import { pick } from 'lodash'; -import { lookup } from 'mime-types'; import { BadRequestError, ForbiddenError, ValidationError, } from '../error'; diff --git a/packages/hydrooj/src/handler/problem.ts b/packages/hydrooj/src/handler/problem.ts index 53cfe2e9c..f28aeaa75 100644 --- a/packages/hydrooj/src/handler/problem.ts +++ b/packages/hydrooj/src/handler/problem.ts @@ -1,7 +1,6 @@ import AdmZip from 'adm-zip'; import { statSync } from 'fs-extra'; import { flatten, intersection, isSafeInteger } from 'lodash'; -import { lookup } from 'mime-types'; import { FilterQuery, ObjectID } from 'mongodb'; import { sortFiles } from '@hydrooj/utils/lib/utils'; import {