From 3222af7d47dbaf92f299bb1affc12c17d861195f Mon Sep 17 00:00:00 2001 From: Sayak Mukhopadhyay Date: Fri, 16 Jun 2023 18:15:23 +0530 Subject: [PATCH] fix diff in check-dist failing due to git detecting files under dist as binary --- .github/workflows/check-dist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 99c1f04..b596b69 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -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