File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Check out the **[contributing wiki](https://github.com/pion/webrtc/wiki/Contribu
1717* [ Max Hawkins] ( https://github.com/maxhawkins ) - * Git hooks*
1818* [ Atsushi Watanabe] ( https://github.com/at-wat ) - * Sync files among repositories*
1919* [ Daniele Sluijters] ( https://github.com/daenney ) - * Misc fixes*
20+ * [ Luke S] ( https://github.com/encounter )
2021
2122### License
2223MIT License - see [ LICENSE] ( LICENSE ) for full text
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ lint_commit_message() {
3131 display_commit_message_error " $1 " ' Separate subject from body with a blank line'
3232 fi
3333
34- if [[ " $( echo " $1 " | head -n1 | wc -m ) " -gt 50 ]]; then
34+ if [[ " $( echo " $1 " | head -n1 | awk ' {print length} ' ) " -gt 50 ]]; then
3535 display_commit_message_error " $1 " ' Limit the subject line to 50 characters'
3636 fi
3737
You can’t perform that action at this time.
0 commit comments