Skip to content

Commit

Permalink
UHF-9380: Debugging...
Browse files Browse the repository at this point in the history
  • Loading branch information
khalima committed Jan 24, 2024
1 parent e6c0e97 commit 54fe3d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/npm_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ jobs:
run: |
set +e
npm audit --package-lock-only --loglevel=error;
echo "Testing: $?"
# The npm audit command will exit with a 0 exit code if no vulnerabilities were found.
if [ $? -eq 0 ]; then echo "CREATE_PR=false" >> $GITHUB_OUTPUT; else echo "CREATE_PR=true" >> $GITHUB_OUTPUT; fi;
if [ $? -eq 0 ]; then echo "CREATE_PR=false" >> $GITHUB_OUTPUT; echo "Variable should be 0: $? else echo "CREATE_PR=true" >> $GITHUB_OUTPUT; echo "Variable should be 1: $? fi;
set -e
- name: Debugging the variable
Expand Down

0 comments on commit 54fe3d1

Please sign in to comment.