Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
pmd again
  • Loading branch information
krukmat authored Apr 26, 2020
1 parent 53b2efe commit 5a8c765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function referencePMD(){
var mk = 'sudo mkdir -p /snap/bin && sudo chmod -R 757 /snap/bin'
var cmd =
`sudo echo '#! /bin/bash
$HOME/pmd/bin/run.sh "$@"' > /snap/bin/pmd`
$HOME/pmd/bin/run.sh pmd "$@"' > /snap/bin/pmd`
var cm = 'chmod +x /snap/bin/pmd'
exec(mk+' && '+cmd+' && '+cm, function(error, stdout, stderr){
if(error) core.setFailed(stderr)
Expand Down

0 comments on commit 5a8c765

Please sign in to comment.