Skip to content

Commit

Permalink
chore: fix workflow to consider empty commits
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayteki95 committed Nov 12, 2024
1 parent 7ad4423 commit 70ab9c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ jobs:
- name: Run format Checks
run: |
npx prettier --write $(cat changed_files.txt)
if [ -s changed_files.txt ]; then
npx prettier --write $(cat changed_files.txt)
fi
- run: git diff --exit-code

- name: Formatting Error message
if: ${{ failure() }}
run: |
Expand Down

0 comments on commit 70ab9c8

Please sign in to comment.