fix diff in check-dist failing due to git detecting files under dist as binary

This commit is contained in:
Sayak Mukhopadhyay
2023-06-16 18:15:23 +05:30
parent dfe9c58e43
commit 3222af7d47

View File

@ -38,7 +38,7 @@ jobs:
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1