Skip to content

Commit 1d77c59

Browse files
committed
Exclude .md-files from the trailing whitespaces check...
... since two trailing whitespaces carry a semanitic (namely a newline) in Markdown.
1 parent 2a3cd0a commit 1d77c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/10-trailing_whitespaces.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
FOLDER="."
4-
FILES='.+\.\(md\|rs\|\sh\|toml\|txt\|yml\)'
4+
FILES='.+\.\(rs\|\sh\|toml\|txt\|yml\)'
55

66
# Exit script on first error
77
set -o errexit -o nounset

0 commit comments

Comments
 (0)