From 5a8c7655ddd578cc8e3fac2a859011bde47556f3 Mon Sep 17 00:00:00 2001 From: Matias Kruk Date: Sun, 26 Apr 2020 14:24:43 +0200 Subject: [PATCH] Update index.js pmd again --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b383ff9..66f3b4f 100644 --- a/index.js +++ b/index.js @@ -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)