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")!; }