Skip to content

Commit

Permalink
Removing sudo from the script
Browse files Browse the repository at this point in the history
  • Loading branch information
akanchhaS authored Jul 4, 2021
1 parent ce4eb6a commit 35c55fb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ steps:
displayName: 'Decorator-injected Task to test Snyk using CLI'
inputs:
script: |
sudo npm install -g snyk
sudo npm install -g snyk-to-html
sudo snyk auth $(SNYK_TOKEN)
sudo snyk monitor --all-projects --org=YOUR_ORG_NAME
sudo snyk test --all-projects --json | snyk-to-html -o snyk_results.html
npm install -g snyk
npm install -g snyk-to-html
snyk auth $(SNYK_TOKEN)
snyk monitor --all-projects --org=YOUR_ORG_NAME
snyk test --all-projects --json | snyk-to-html -o snyk_results.html

0 comments on commit 35c55fb

Please sign in to comment.