This commit is contained in:
Patrick Ellis
2021-06-18 13:51:07 -04:00
parent fc2badc92d
commit 7ad42be42d

View File

@@ -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;