Skip to content

Commit 0f79097

Browse files
committed
Fixed code block validation to ignore asciiart better
1 parent 9d67d8d commit 0f79097

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/check-formatting.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ for file in *.adoc; do
3232
next
3333
}
3434
35-
/^----/ {
35+
/^----$/ {
3636
if ($0 != "----") {
3737
print "WARNING: ---- has trailing whitespace at line " NR
3838
warnings++

0 commit comments

Comments
 (0)