Skip to content

Commit

Permalink
#9 Fixed SC2140 – ShellCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Epatko committed Mar 6, 2024
1 parent 1d23c4c commit e42ae95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -42,7 +42,7 @@ runs:
-s $SINCE \
-o $OUTPUT_DIR \
-f $FILENAME \
${$EXCLUDE:+"-e" "${$EXCLUDE[@]}"}
${$EXCLUDE:+"-e ${$EXCLUDE[@]}"}
shell: bash
env:
BEFORE: ${{ inputs.before }}
Expand Down
2 changes: 1 addition & 1 deletion generate-badge.sh
Expand Up @@ -38,7 +38,7 @@ echo "$Dir ${Exclude[*]} $Since $Before"

mkdir -p "$OutDir"

Count=$(hoc -d "$Dir" ${Exclude:+"-e" "${Exclude[@]}"} -e "${Exclude[@]}" -s "$Since" -b "$Before" -f "int")
Count=$(hoc -d "$Dir" ${Exclude:+"-e ${Exclude[@]}"} -e "${Exclude[@]}" -s "$Since" -b "$Before" -f "int")
echo "Hits of code: $Count"

anybadge -l "Hits of Code" -v "$Count" -f "$OutDir/$Filename" -c royalblue

0 comments on commit e42ae95

Please sign in to comment.