From 12d03b76958249c579e155425e3e63acd9721d60 Mon Sep 17 00:00:00 2001 From: Brett Saviano Date: Mon, 1 Apr 2024 14:21:22 -0400 Subject: [PATCH] Delete debugging code --- server/src/providers/diagnostic.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/providers/diagnostic.ts b/server/src/providers/diagnostic.ts index 7f8d801..a5130a9 100644 --- a/server/src/providers/diagnostic.ts +++ b/server/src/providers/diagnostic.ts @@ -19,7 +19,7 @@ import { normalizeClassname, quoteUDLIdentifier } from '../utils/functions'; -import { zutilFunctions, lexerLanguages, documents, connection } from '../utils/variables'; +import { zutilFunctions, lexerLanguages, documents } from '../utils/variables'; import { ServerSpec, StudioOpenDialogFile, QueryData } from '../utils/types'; import * as ld from '../utils/languageDefinitions'; import parameterTypes = require("../documentation/parameterTypes.json"); @@ -51,7 +51,7 @@ export async function onDiagnostics(params: DocumentDiagnosticParams): Promise 3)","*.inc",1,1,1,1,0,0] }; } - connection.console.warn("about to send REST request"); + const respdata = await makeRESTRequest("POST",1,"/action/query",server,querydata); if (Array.isArray(respdata?.data?.result?.content)) { files = respdata.data.result.content;