Skip to content

Commit

Permalink
Workflows: test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcdermo committed Aug 8, 2023
1 parent 143e595 commit 80a1441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Line_Endings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Check for CFLF line endings
- name: Check for CRLF line endings
run: |
grep -IURl --exclude={"*.pdf","*.png"} --exclude-dir=".git" $'\r' > tmp.txt
grep -IURl --exclude={"*.pdf","*.png"} --exclude-dir=".git" '\r'$ > tmp.txt
cat tmp.txt
nlines=$(cat tmp.txt | wc -l)
if [ $nlines -gt 0 ]; then
Expand Down

0 comments on commit 80a1441

Please sign in to comment.