Skip to content

Commit e797237

Browse files
committed
Fix pmd executable name
1 parent 2c5ed60 commit e797237

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const downloadPmd = async function(version, token) {
3636
const executePmd = async function(pmdInfo, fileListOrSourcePath, ruleset, reportFormat, reportFile) {
3737
let pmdExecutable = '/bin/run.sh pmd';
3838
if (isPmd7Cli(pmdInfo.version)) {
39-
pmdExecutable = '/bin/pmd.sh';
39+
pmdExecutable = '/bin/pmd';
4040
}
4141
if (os.platform() === 'win32') {
4242
pmdExecutable = '\\bin\\pmd.bat';

tests/data/pmd-bin-7.0.0-rc1.zip

333 Bytes
Binary file not shown.
File renamed without changes.

0 commit comments

Comments
 (0)