diff --git a/.github/workflows/check_dist.sh b/.github/workflows/check_dist.sh index 5febd77c..e00a00a7 100755 --- a/.github/workflows/check_dist.sh +++ b/.github/workflows/check_dist.sh @@ -1,6 +1,6 @@ #! /usr/bin/env bash -dist_index_diff=$(git diff --exit-code -- dist/index.js) +dist_index_diff=$(git diff --exit-code --text -- dist/index.js) if [[ "$dist_index_diff" ]]; then echo -e "$dist_index_diff\n‼️ Changes detected to dist/index.js! \n\tPlease run \`npm run build' and commit the result." >&2;