We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe35892 commit 3a80495Copy full SHA for 3a80495
ci/check_line_lengths.sh
@@ -30,7 +30,9 @@ for file in "$@" ; do
30
(( inside_block = !$inside_block ))
31
continue
32
fi
33
- if ! (( $inside_block )) && ! [[ "$line" =~ " | "|"-|-"|"://"|"]:"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then
+ if ! (( $inside_block )) \
34
+ && ! [[ "$line" =~ " | "|"-|-"|"://"|"]:"|\[\^[^\ ]+\]: ]] \
35
+ && (( "${#line}" > $MAX_LINE_LENGTH )) ; then
36
(( bad_lines++ ))
37
echo -e "\t$line_no : $line"
38
0 commit comments