Skip to content

Commit

Permalink
Workflows: logical or
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcdermo committed Aug 8, 2023
1 parent 88fb7f8 commit d9302ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/Line_Endings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:

- name: Check for CRLF line endings
run: |
grep -IUlr --exclude={"*.pdf","*.png"} --exclude-dir=".git" $'\r' > tmp.txt
exit 0
{ grep -IUlr --exclude={"*.pdf","*.png"} --exclude-dir=".git" $'\r' > tmp.txt || true; }
nlines=$(cat tmp.txt | wc -l)
if [ $nlines -gt 0 ]; then
echo "matl-db repo text files with dos line endings:"
Expand Down

0 comments on commit d9302ed

Please sign in to comment.