Skip to content

Commit

Permalink
fix: Fix wrong variable reference
Browse files Browse the repository at this point in the history
blablabla

Signed-off-by: Kjeld Schouten-Lebbing <[email protected]>
Requires-builders: style
  • Loading branch information
kjeld Schouten-Lebbing committed Aug 30, 2020
1 parent e35d8b9 commit f93ea46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/commitcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function new_change_commit()
type_subject=$(git log -n 1 --pretty=%s "$REF" | cut -d: -f1)
# shellcheck disable=SC2076
[[ " ${types[*]} " =~ " ${type_subject} " ]] && error=0 || error=1; \
echo "error: type_subject is not a valid subject type"
echo "error: ${type_subject} is not a valid subject type"


# subject is not longer than 72 characters
Expand Down

0 comments on commit f93ea46

Please sign in to comment.