mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-20 04:59:12 +08:00
Don't fail if no CRLF issues are found
This commit is contained in:
parent
76dda79d4a
commit
e05a5d0cb7
2
.github/workflows/check_samples.yml
vendored
2
.github/workflows/check_samples.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Check Line Endings
|
||||
run: |
|
||||
CRLF_ENDINGS=$(find . -not -type d -exec file "{}" ";" | grep CRLF)
|
||||
CRLF_ENDINGS=$(find . -not -type d -exec file "{}" ";" | grep CRLF || true)
|
||||
CRLF_ENDINGS_COUNT=$(echo "${CRLF_ENDINGS}" | wc -w)
|
||||
if (( CRLF_ENDINGS_COUNT > 0 )); then
|
||||
echo "The following files are not allowed:"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user