Skip to content

Commit e05a5d0

Browse files
committed
Don't fail if no CRLF issues are found
1 parent 76dda79 commit e05a5d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check_samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
2626
- name: Check Line Endings
2727
run: |
28-
CRLF_ENDINGS=$(find . -not -type d -exec file "{}" ";" | grep CRLF)
28+
CRLF_ENDINGS=$(find . -not -type d -exec file "{}" ";" | grep CRLF || true)
2929
CRLF_ENDINGS_COUNT=$(echo "${CRLF_ENDINGS}" | wc -w)
3030
if (( CRLF_ENDINGS_COUNT > 0 )); then
3131
echo "The following files are not allowed:"

0 commit comments

Comments
 (0)