Skip to content

Commit

Permalink
Use object keys instead
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl committed Nov 28, 2024
1 parent e6eaa39 commit 4175a05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/db/scripts/import-export/validate_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ const validateCSV = (
}
});

// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const [fk] of Object.entries(foreignKeys)) {
for (const fk of Object.keys(foreignKeys)) {
if (!foreignKeyCheck[fk]) {
foreignKeyCheck[fk] = new Set();
}
Expand Down

0 comments on commit 4175a05

Please sign in to comment.