fix(db): drop dead quote tracking in hasExecutableSql, clear lint

hasExecutableSql returns as soon as it meets a quote character, so the quote
variable was assigned and never read: the `if (quote)` branch could never run.
eslint reported it as a useless assignment and the error blocks the release
gate on main. Removing the variable and the unreachable branch keeps behaviour
identical, since encountering a quote already means the SQL is executable.

Also drops an eslint-disable directive in csr's output error reporter that
suppressed nothing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
ClintchizandClaude Opus 5 committed 2026-08-13 16:57:34 +05:30
1 parent 2459a0b5a7
commit 8393a953b7
3 files changed
+15 -13

No files matched your search

+12
View File
@@ -13,6 +13,18 @@
],
"port": 3520
},
{
"name": "pms-public",
"runtimeExecutable": "bun",
"runtimeArgs": [
"run",
"--cwd",
"D:/Company/pms/apps/public",
"dev",
"--port=3610"
],
"port": 3610
},
{
"name": "component-showcase",
"runtimeExecutable": "bun",