From bc84098b777deb1b294ec1d8d1e91403cf084004 Mon Sep 17 00:00:00 2001 From: koniifer Date: Fri, 8 Nov 2024 21:50:37 +0000 Subject: [PATCH] patch --- package.json | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 031da41..6473478 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "publisher": "koniifer", "displayName": "hblang", "description": "Syntax highlighter and formatter for holey-bytes lang", - "version": "0.2.1", + "version": "0.2.2", "engines": { "vscode": "^1.75.0" }, diff --git a/src/main.ts b/src/main.ts index 0984059..46af2d6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -8,7 +8,7 @@ let diagnosticCollection: vscode.DiagnosticCollection; function getExecutablePath(): string { const config = vscode.workspace.getConfiguration("hblang"); - return config.get("compilerPath") === "Use PATH" + return config.get("compilerPath") === "PATH" ? DEFAULT_EXECUTABLE : config.get("compilerPath")!; }