From a8f090cd5519a575acf723e98bc8014bc9529112 Mon Sep 17 00:00:00 2001 From: "Grayson, Matthew" Date: Fri, 29 Dec 2023 09:00:29 -0500 Subject: [PATCH] Revert Axios/AxiosResponse imports; remove unsused typeorm import. --- backend/src/tasks/cve.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/backend/src/tasks/cve.ts b/backend/src/tasks/cve.ts index 2da84565b..148fabc7f 100644 --- a/backend/src/tasks/cve.ts +++ b/backend/src/tasks/cve.ts @@ -10,18 +10,10 @@ import { plainToClass } from 'class-transformer'; import { CommandOptions } from './ecs-client'; import * as buffer from 'buffer'; import saveVulnerabilitiesToDb from './helpers/saveVulnerabilitiesToDb'; -import { - LessThan, - MoreThan, - FindOperator, - In, - MoreThanOrEqual, - Not -} from 'typeorm'; +import { LessThan, MoreThan, In, MoreThanOrEqual, Not } from 'typeorm'; import * as fs from 'fs'; import * as zlib from 'zlib'; -import axios from 'axios'; -import type { AxiosResponse } from 'axios'; +import axios, { AxiosResponse } from 'axios'; import { CISACatalogOfKnownExploitedVulnerabilities } from 'src/models/generated/kev'; /**