Skip to content

Commit 0003536

Browse files
committed
Fix missing token
Was wrong merge of #16
1 parent 426e841 commit 0003536

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-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/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ const reportFile = 'pmd-report.sarif'
1111
async function main() {
1212
let pmdInfo, execOutput, violations;
1313
try {
14-
pmdInfo = await util.downloadPmd(validator.validateVersion(core.getInput('version'), { required: true }));
14+
pmdInfo = await util.downloadPmd(
15+
validator.validateVersion(core.getInput('version'), { required: true }),
16+
core.getInput('token', { required: true })
17+
);
1518
execOutput = await util.executePmd(pmdInfo,
1619
validator.validateSourcePath(core.getInput('sourcePath', { required: true })),
1720
validator.validateRulesets(core.getInput('rulesets', { required: true })),

0 commit comments

Comments
 (0)