Skip to content

Commit abb012a

Browse files
Update entrypoint.sh - lowercase for static analysis tool
1 parent afcc326 commit abb012a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ process_input_options() {
3939
value=$(echo "$line" | cut -d'=' -f2-)
4040
4141
# Check if the argument is --review_scope, --exclude_files, or --exclude_branches and remove spaces
42-
if [[ "$key" == "--review_scope" ]]; then
42+
if [[ "$key" == "--review_scope" || "$key" == "--static_analysis_tool" ]]; then
4343
value=$(remove_spaces "$value")
4444
value=$(to_lowercase "$value")
45-
elif [[ "$key" == "--exclude_files" || "$key" == "--exclude_branches" || "$key" == "--static_analysis_tool" ]]; then
45+
elif [[ "$key" == "--exclude_files" || "$key" == "--exclude_branches" ]]; then
4646
value=$(remove_spaces "$value")
4747
fi
4848

0 commit comments

Comments
 (0)