We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ce7ab commit db298f6Copy full SHA for db298f6
index.js
@@ -20,11 +20,11 @@ function installPMD(){
20
}
21
22
function referencePMD(){
23
- var mk = 'sudo chmod -R 757 /usr/bin'
+ var mk = 'sudo mkdir /snap/bin && sudo chmod -R 757 /snap/bin'
24
var cmd =
25
`sudo echo '#! /bin/bash
26
-$HOME/pmd/bin/run.sh pmd "$@"' > /usr/bin/pmd`
27
- var cm = 'chmod +x /usr/bin/pmd'
+$HOME/pmd/bin/run.sh pmd "$@"' > /snap/bin/pmd`
+ var cm = 'chmod +x /snap/bin/pmd'
28
exec(mk+' && '+cmd+' && '+cm, function(error, stdout, stderr){
29
if(error) core.setFailed(stderr)
30
core.debug(stdout)
0 commit comments