From c0f482a807110cabed330d28e1091c22a3b934d3 Mon Sep 17 00:00:00 2001 From: Jaisal Patel <70134418+GhostOf0days@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:17:32 -0500 Subject: [PATCH] fix lint errors (#445) --- src/util/queryLocations.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/queryLocations.ts b/src/util/queryLocations.ts index 3353c948..c345d06b 100644 --- a/src/util/queryLocations.ts +++ b/src/util/queryLocations.ts @@ -131,7 +131,6 @@ export async function queryLocations( } const { locations: rawLocations } = await IAPIResponseJoiSchema.validateAsync(data); - // Check for invalid location data const validLocations = rawLocations.filter((location) => { @@ -140,7 +139,7 @@ export async function queryLocations( console.error("Validation error!", error.details); // eslint-disable-next-line no-underscore-dangle console.error("original obj", error._original); - // eslint-disable-next-line no-alert + // eslint-disable-next-line no-console console.log( `${location.name} has invalid corresponding data! Ignoring location and continuing validation`, );