From 75824c301d8c407e107a6cc3265bcc01db36167a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20L=C3=B3pez=20de=20la=20Franca=20Beltran?= Date: Tue, 9 Jan 2024 17:07:55 +0100 Subject: [PATCH] Redirect diff output to /dev/null --- .github/workflows/all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index b2fad8e..e1f06ed 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -23,7 +23,7 @@ jobs: - name: Verify the build is up to date run: | npm run webpack -- --output-path="${RUNNER_TEMP}/dist" - if ! diff -r "${RUNNER_TEMP}/dist" dist; then + if ! diff -r "${RUNNER_TEMP}/dist" dist > /dev/null; then echo "Build is out of date, please run 'npm run webpack' and commit the changes" exit 1 fi