Skip to content

Commit

Permalink
fix bash if-then statement
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Jul 7, 2024
1 parent dd8457b commit 6cd63d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi

mkdir -p "${INPUT_OUTPUT_DIR}"
OUTPUT_FILE_NAME="reviewdog-${INPUT_TOOL_NAME}"
if [[ "${INPUT_REPORTER}" == "sarif" ]]
if [[ "${INPUT_REPORTER}" == "sarif" ]]; then
OUTPUT_FILE_NAME="${OUTPUT_FILE_NAME}.sarif"
fi

Expand Down

0 comments on commit 6cd63d6

Please sign in to comment.