diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index b90024e..1ee7aec 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -50,9 +50,9 @@ jobs: - name: Compare Expected and Actual Directories id: diff 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 --ignore-space-at-eol dist/ + git diff --ignore-space-at-eol --text dist/ exit 1 fi