From 6a6d5f02e7645faf6336e75580db2cf5df2d67f9 Mon Sep 17 00:00:00 2001 From: Muhammad Mustaqeem <265153888+Mustaqeem66@users.noreply.github.com> Date: Thu, 13 Aug 2026 22:08:13 +0500 Subject: [PATCH] style(lsp): collapse the exit-status ternary to satisfy biome The conditional fits in the 120-column budget at indentWidth 3, so the formatter wants it on a single line. --- packages/coding-agent/src/lsp/workspace-diagnostics.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/coding-agent/src/lsp/workspace-diagnostics.ts b/packages/coding-agent/src/lsp/workspace-diagnostics.ts index 4ccd34bfc..d6ac52d64 100644 --- a/packages/coding-agent/src/lsp/workspace-diagnostics.ts +++ b/packages/coding-agent/src/lsp/workspace-diagnostics.ts @@ -159,9 +159,7 @@ export async function runWorkspaceDiagnostics( // the branch below. Mirrors the exit-status gate // `resolveGoWorkspaceDiagnosticsCommand` already applies above. if (exitCode !== 0) { - const detail = proc.signalCode - ? `was killed by ${proc.signalCode}` - : `exited with code ${exitCode}`; + const detail = proc.signalCode ? `was killed by ${proc.signalCode}` : `exited with code ${exitCode}`; return { output: `Failed to run ${projectType.command.join(" ")}: the checker ${detail} without reporting anything, so the workspace was not verified`, projectType,