mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
Don't fail if no CRLF issues are found
This commit is contained in:
parent
76dda79d4a
commit
e05a5d0cb7
1 changed files with 1 additions and 1 deletions
2
.github/workflows/check_samples.yml
vendored
2
.github/workflows/check_samples.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
- name: Check Line Endings
|
- name: Check Line Endings
|
||||||
run: |
|
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)
|
CRLF_ENDINGS_COUNT=$(echo "${CRLF_ENDINGS}" | wc -w)
|
||||||
if (( CRLF_ENDINGS_COUNT > 0 )); then
|
if (( CRLF_ENDINGS_COUNT > 0 )); then
|
||||||
echo "The following files are not allowed:"
|
echo "The following files are not allowed:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue