We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0851bc commit 37c68dbCopy full SHA for 37c68db
ci/check_line_lengths.sh
@@ -30,7 +30,7 @@ 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 )) && ! [[ "$line" =~ " | "|"-|-"|"://"|"]:"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then
34
(( bad_lines++ ))
35
echo -e "\t$line_no : $line"
36
0 commit comments