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.
This commit is contained in:
Muhammad Mustaqeem
2026-08-13 22:08:13 +05:00
parent 90e4055da6
commit 6a6d5f02e7
@@ -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,