From f4547bdc4d0f9b9ca067461fb5546c4a95c3ae50 Mon Sep 17 00:00:00 2001 From: Patrick Ellis Date: Fri, 18 Jun 2021 13:21:33 -0400 Subject: [PATCH] f --- .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 6002a1ad..e9eda6dd 100644 --- a/.github/workflows/check_dist.yml +++ b/.github/workflows/check_dist.yml @@ -31,4 +31,4 @@ jobs: # git push --set-upstream origin bots/updateGitHubDependencies-${{github.run_number}} # fi - 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)