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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user