Skip to content

Commit

Permalink
fix lint errors (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostOf0days authored Jan 16, 2024
1 parent 2852e4a commit c0f482a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/queryLocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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`,
);
Expand Down

0 comments on commit c0f482a

Please sign in to comment.