This commit is contained in:
Patrick Ellis
2021-06-18 13:21:33 -04:00
parent 45fbda5933
commit f4547bdc4d

View File

@@ -31,4 +31,4 @@ jobs:
# git push --set-upstream origin bots/updateGitHubDependencies-${{github.run_number}} # git push --set-upstream origin bots/updateGitHubDependencies-${{github.run_number}}
# fi # fi
- run: | - run: |
git diff dist/index.js && echo "Changes detected to dist/index.js! Please run npm run build and commit the result." && exit 1 git diff --exit-code dist/index.js || (echo "Changes detected to dist/index.js! Please run \`npm run build\` and commit the result." >&2 ; exit 1)