Skip to content

Commit

Permalink
Extra quotes for classpath are no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Sep 27, 2024
1 parent 54456c1 commit f0f6a67
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/lib/apexPmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0f6a67

Please sign in to comment.