style: clean up code with prettier and eslint

This commit is contained in:
openhands
2026-07-12 20:31:05 +02:00
parent 60278b9e71
commit fb8e77bb68
378 changed files with 22407 additions and 20689 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
export function splitSqlStatements(sql: string): string[] {
const withoutComments = sql
.replace(/\/\*[\s\S]*?\*\//g, "")
.replace(/^\s*--.*$/gm, "");
const withoutComments = sql.replace(/\/\*[\s\S]*?\*\//g, "").replace(/^\s*--.*$/gm, "");
return withoutComments
.split(";")