Skip to content

Commit

Permalink
Upgrade PMD from 7.0.0 to 7.6.0 (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel authored Sep 27, 2024
1 parent ba6fa66 commit 010b57b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump webpack from 5.88.2 to 5.94.0 by @dependabot in [#172](https://github.com/ChuckJonas/vscode-apex-pmd/pull/172)
- Improve PMD update procedure by @adangel in [#174](https://github.com/ChuckJonas/vscode-apex-pmd/pull/174)
- Bump micromatch from 4.0.5 to 4.0.8 by @adangel in [#175](https://github.com/ChuckJonas/vscode-apex-pmd/pull/175)
- Upgrade PMD from 7.0.0 to 7.6.0 by @adangel in [#176](https://github.com/ChuckJonas/vscode-apex-pmd/pull/176)

### Deprecated
### Removed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
}
},
"config": {
"pmdVersion": "7.0.0"
"pmdVersion": "7.6.0"
},
"scripts": {
"postinstall": "pmd-packager/upgrade.sh",
Expand Down
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 010b57b

Please sign in to comment.