Skip to content

Commit

Permalink
Fix pmd executable name
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Mar 17, 2023
1 parent 07695cb commit f7125c4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const downloadPmd = async function(version, token) {
const executePmd = async function(pmdInfo, fileListOrSourcePath, ruleset, reportFormat, reportFile) {
let pmdExecutable = '/bin/run.sh pmd';
if (isPmd7Cli(pmdInfo.version)) {
pmdExecutable = '/bin/pmd.sh';
pmdExecutable = '/bin/pmd';
}
if (os.platform() === 'win32') {
pmdExecutable = '\\bin\\pmd.bat';
Expand Down
Binary file modified tests/data/pmd-bin-7.0.0-rc1.zip
Binary file not shown.
File renamed without changes.

0 comments on commit f7125c4

Please sign in to comment.