From f90093206f172f9fbd42cacfbd5c002c36522e4a Mon Sep 17 00:00:00 2001 From: rmcdermo Date: Tue, 8 Aug 2023 15:17:47 -0400 Subject: [PATCH] Workflows: back where we started with false positives --- .github/workflows/Line_Endings.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Line_Endings.yml b/.github/workflows/Line_Endings.yml index 06b4748..23b07b5 100644 --- a/.github/workflows/Line_Endings.yml +++ b/.github/workflows/Line_Endings.yml @@ -26,13 +26,12 @@ jobs: - name: Check for CRLF line endings run: | grep -IURl --exclude={"*.pdf","*.png"} --exclude-dir=".git" '\r'$ > tmp.txt - -# nlines=$(cat tmp.txt | wc -l) -# if [ $nlines -gt 0 ]; then -# echo "matl-db repo text files with dos line endings:" -# cat tmp.txt -# exit 1 -# fi + nlines=$(cat tmp.txt | wc -l) + if [ $nlines -gt 0 ]; then + echo "matl-db repo text files with dos line endings:" + cat tmp.txt + exit 1 + fi