Skip to content

Commit 4113392

Browse files
authored
Merge pull request #12 from cytopia/release-0.3
Ensure CRLF check also works on mixed line-feed files
2 parents ea15ec2 + f31cf42 commit 4113392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/file-crlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ DEFAULT_CUST_OPS=""
3838
# __CUSTOM_OPT_PLACEHOLDER__
3939
# This will be replaced either with custom options
4040
# or with the default options.
41-
MY_REG="[[:space:]]CRLF[[:space:]].*line"
41+
MY_REG="[[:space:]]CRLF(,|[[:space:]].*line)"
4242
MY_CHECK="file \"\$1\" | grep --color=always -E \"${MY_REG}\" || true"
4343

4444
# Can this check fix the problems?

0 commit comments

Comments
 (0)