mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-30 00:19:35 +00:00
feat: add check fmt and lint commands (#112)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user