Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkumar-wtc authored Sep 11, 2020
1 parent e7f45ce commit 6c5b122
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 @@ -11,7 +11,7 @@ function installPMD(){
var download = 'wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F6.27.0/pmd-bin-6.27.0.zip -P /tmp'
var unzip = 'unzip /tmp/pmd-bin-6.27.0.zip -d /tmp'
var mk = 'mkdir -p $HOME/pmd'
var mbin = 'mkdir -p $HOME/bin/pmd'
var mbin = 'mkdir -p $HOME/bin'
var mv = 'mv /tmp/pmd-bin-6.27.0/* $HOME/pmd'
exec(download+' && '+unzip+' && '+mk+' && '+mv+' && '+mbin , function(error, stdout, stderr){
if(error) core.setFailed(stderr)
Expand Down

0 comments on commit 6c5b122

Please sign in to comment.