Skip to content

Commit 6b09cdb

Browse files
Change variable name
1 parent addc308 commit 6b09cdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bandit-check/entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo "Scanning project: $1"
44
bandit --version
55
REPORT=$(bandit -r $1)
6-
OUTPUT="${REPORT//'%'/'%25'}"
7-
OUTPUT="${REPORT//$'\n'/'%0A'}"
8-
OUTPUT="${REPORT//$'\r'/'%0D'}"
6+
REPORT="${REPORT//'%'/'%25'}"
7+
REPORT="${REPORT//$'\n'/'%0A'}"
8+
REPORT="${REPORT//$'\r'/'%0D'}"
99
echo "::set-output name=report::$REPORT"

0 commit comments

Comments
 (0)