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