From 00160ab143e76fb5ccc336569ce132395f5a65bb Mon Sep 17 00:00:00 2001 From: Made Indrayana Date: Wed, 8 Oct 2025 10:57:12 +0200 Subject: [PATCH] fix: build failure from issue #35 Fix - Add " at the beginning of compiler path and another " after build targets are set --- src/extension.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index cd708e2..d37c0d1 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -268,7 +268,7 @@ function countChars(haystack: string, needle: string): number { class SplusCompiler { constructor() { this.arguments = []; - this.compilerPath = "\"" + workspace.getConfiguration("splus").compilerLocation + "\""; + this.compilerPath = "\"\"" + workspace.getConfiguration("splus").compilerLocation + "\""; } buildCommand() { return this.compilerPath + " " + this.arguments.join(" "); @@ -295,7 +295,7 @@ function getBuildParameters(fileName: string, buildType: BuildType): [string, st seriesTargets.push(4); compiler.arguments.push("series4"); } - + compiler.arguments.push("\""); let label = "Compile " + seriesTargets.join(" & ") + " Series"; let command = compiler.buildCommand(); return [label, command];