From c14c06f34f1c807d65bed94e9d6d3325371186f5 Mon Sep 17 00:00:00 2001 From: Armando Aguirre Sepulveda Date: Mon, 6 Jan 2025 17:37:37 -0800 Subject: [PATCH] Fixed format --- src/server/session.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/session.ts b/src/server/session.ts index d9ab6e8e4383e..e3d3d5303f36c 100644 --- a/src/server/session.ts +++ b/src/server/session.ts @@ -3068,8 +3068,8 @@ export class Session implements EventSender { ...ls.getSemanticDiagnostics(file), ...ls.getSuggestionDiagnostics(file), ] - .filter(d => decodedTextSpanIntersectsWith(startPosition, endPosition - startPosition, d.start!, d.length!)) - .map(d => d.code); + .filter(d => decodedTextSpanIntersectsWith(startPosition, endPosition - startPosition, d.start!, d.length!)) + .map(d => d.code); const badCode = args.errorCodes.find(c => !existingDiagCodes.includes(c)); if (badCode !== undefined) { e.message += `\nAdditional information: BADCLIENT: Bad error code, ${badCode} not found in range ${startPosition}..${endPosition} (found: ${existingDiagCodes.join(", ")})`;