feat: add check fmt and lint commands (#112)

This commit is contained in:
Wu Clan
2026-05-06 12:09:26 +08:00
committed by GitHub
parent bfc2c4d162
commit 2aaf05bc5a
3 changed files with 219 additions and 1 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ function schemaMatches(left: string | undefined, right: string | undefined): boo
}
function normalizeIdentifier(value: string | undefined): string {
return (value ?? "").replace(/^[`"\[]|[`"\]]$/g, "").toLowerCase();
return (value ?? "").replace(/^[`"[]|[`"\]]$/g, "").toLowerCase();
}
function snippetAround(sql: string, needle: string): string {