Skip to content

Commit

Permalink
refactor: Remove unnecessary null check for statements in SQL converter
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Dec 12, 2024
1 parent a7ad7ea commit 7c67d95
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,6 @@ export const convertToDBStructure = (stmts: RawStmt[]): DBStructure => {
}
}

if (!stmts) {
return {
tables: {},
relationships: {},
}
}

for (const statement of stmts) {
if (statement?.stmt === undefined) continue

Expand Down

0 comments on commit 7c67d95

Please sign in to comment.