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:
2026-08-13 16:57:34 +05:30
co-authored by Claude Opus 5
parent 2459a0b5a7
commit 8393a953b7
3 changed files with 15 additions and 13 deletions
-1
View File
@@ -30,7 +30,6 @@ export function registerOutputHandler<T>(
function reportOutputError(host: OutputHost, name: string, error: unknown): void {
const code = "WRN-DEV-OUTPUT-HANDLER-ERROR";
const message = `The handler bound to output '${name}' threw. The control will appear to do nothing.`;
// eslint-disable-next-line no-console
console.error(`[${code}] ${message}`, error);
try {
window.dispatchEvent(