From 57051f5e0be6ac2fa6058f5927ccceda0aeb1222 Mon Sep 17 00:00:00 2001 From: "David L. Day" Date: Sun, 3 Mar 2024 15:44:14 -0500 Subject: [PATCH] chore: remove unused URL --- src/ConfigurationManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ConfigurationManager.ts b/src/ConfigurationManager.ts index 307f913c..7db70235 100644 --- a/src/ConfigurationManager.ts +++ b/src/ConfigurationManager.ts @@ -18,7 +18,7 @@ import * as execa from "execa"; import * as glob from "glob"; import * as path from "path"; import * as portfinder from "portfinder"; -import { URL } from "url"; +// import { URL } from "url"; import { commands, ConfigurationChangeEvent, @@ -503,11 +503,11 @@ export class ConfigurationManager implements Disposable { } }, ); - this.process.stderr.addListener("data", (data: string) => { + this.process.stderr?.addListener("data", (data: string) => { Constants.EXTENSION_OUTPUT_CHANNEL.appendLine(data); Constants.EXTENSION_OUTPUT_CHANNEL.show(true); }); - this.process.stdout.addListener("data", (data: string) => { + this.process.stdout?.addListener("data", (data: string) => { Constants.EXTENSION_OUTPUT_CHANNEL.appendLine(data); }); this.serviceUrl = this.findServiceUrl(this.getServiceType());