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