Skip to content

Commit 3a80495

Browse files
authored
make the line-length script respect 100 char limit XD (#240)
🤣 🤣 🤣
1 parent fe35892 commit 3a80495

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/check_line_lengths.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ for file in "$@" ; do
3030
(( inside_block = !$inside_block ))
3131
continue
3232
fi
33-
if ! (( $inside_block )) && ! [[ "$line" =~ " | "|"-|-"|"://"|"]:"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then
33+
if ! (( $inside_block )) \
34+
&& ! [[ "$line" =~ " | "|"-|-"|"://"|"]:"|\[\^[^\ ]+\]: ]] \
35+
&& (( "${#line}" > $MAX_LINE_LENGTH )) ; then
3436
(( bad_lines++ ))
3537
echo -e "\t$line_no : $line"
3638
fi

0 commit comments

Comments
 (0)