From f0f6a67f5f9ab705ae7000371321bd95149b5ec0 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 27 Sep 2024 20:46:30 +0200 Subject: [PATCH] Extra quotes for classpath are no longer needed --- src/lib/apexPmd.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/apexPmd.ts b/src/lib/apexPmd.ts index d3d2df1..1beceb1 100644 --- a/src/lib/apexPmd.ts +++ b/src/lib/apexPmd.ts @@ -140,12 +140,7 @@ export class ApexPmd { ].join(CLASSPATH_DELM); let env : NodeJS.ProcessEnv = {}; - if (os.platform() === 'win32') { - // add surrounding quotes in case workspaceRootPath or additionalClassPaths contains spaces - env["CLASSPATH"] = `"${classPath}"`; - } else { - env["CLASSPATH"] = `${classPath}`; - } + env["CLASSPATH"] = `${classPath}`; if (this.config.jrePath) { if (os.platform() === 'win32') { // add surrounding quotes in case jrePath contains spaces