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 addc308 commit 6b09cdbCopy full SHA for 6b09cdb
bandit-check/entrypoint.sh
@@ -3,7 +3,7 @@
3
echo "Scanning project: $1"
4
bandit --version
5
REPORT=$(bandit -r $1)
6
-OUTPUT="${REPORT//'%'/'%25'}"
7
-OUTPUT="${REPORT//$'\n'/'%0A'}"
8
-OUTPUT="${REPORT//$'\r'/'%0D'}"
+REPORT="${REPORT//'%'/'%25'}"
+REPORT="${REPORT//$'\n'/'%0A'}"
+REPORT="${REPORT//$'\r'/'%0D'}"
9
echo "::set-output name=report::$REPORT"
0 commit comments