From 4e05fcb71e80287f788993dc0d4c0f163782ce9d Mon Sep 17 00:00:00 2001 From: Frits Sweijen Date: Sun, 28 Jan 2024 12:49:22 +0100 Subject: [PATCH] Try to crash again --- .github/workflows/format-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 918f4b7..6afdf99 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -15,4 +15,4 @@ jobs: args: . - name: Check for modified files id: git-check - run: if git diff-index --quiet HEAD --; then echo "Code formatting inconsistent. Please format using Black." && exit 1; else echo "Code formatting is consistent with Black."; fi + run: if git diff-index HEAD --; then echo "Code formatting inconsistent. Please format using Black." && exit 1; else echo "Code formatting is consistent with Black."; fi