Skip to content

Commit

Permalink
- fixing documation link
Browse files Browse the repository at this point in the history
- npm audit fix
  • Loading branch information
ChuckJonas committed Feb 21, 2020
1 parent 4a1d488 commit 32ff655
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to the VS Code Apex PMD will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.7]
### Change
- npm audit fix
- fixing bad documentation links

## [0.4.7]
### Change
- fix issue with `cachePath` not working for windows
Expand Down
27 changes: 19 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "apex-pmd",
"displayName": "Apex PMD",
"description": "PMD static analysis for Salesforce Apex",
"version": "0.4.7",
"version": "0.4.8",
"publisher": "chuckjonas",
"author": {
"name": "Charlie Jonas",
Expand Down Expand Up @@ -181,6 +181,6 @@
"vscode": "^1.1.33"
},
"dependencies": {
"csv-parse": "^4.3.1"
"csv-parse": "^4.8.5"
}
}
2 changes: 1 addition & 1 deletion src/lib/apexPmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class ApexPmd {
createDiagnostic(result: PmdResult): vscode.Diagnostic {
let lineNum = parseInt(result.line) - 1;

let uri = `https://pmd.github.io/latest/pmd_rules_apex_${result.ruleSet.toLowerCase()}.html#${result.rule.toLowerCase()}`;
let uri = `https://pmd.github.io/latest/pmd_rules_apex_${result.ruleSet.split(' ').join('').toLowerCase()}.html#${result.rule.toLowerCase()}`;
let msg = `${result.description} (rule: ${result.ruleSet}-${result.rule}) \n See: ${uri}`;

let priority = parseInt(result.priority);
Expand Down

0 comments on commit 32ff655

Please sign in to comment.