diff --git a/.github/workflows/npm_audit.yml b/.github/workflows/npm_audit.yml index f4f0071aa..bfe66875f 100644 --- a/.github/workflows/npm_audit.yml +++ b/.github/workflows/npm_audit.yml @@ -35,7 +35,7 @@ jobs: npm audit --package-lock-only --loglevel=error; # 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; echo "Variable should be 0: $? else echo "CREATE_PR=true" >> $GITHUB_OUTPUT; echo "Variable should be 1: $? 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