Skip to content

Commit

Permalink
Prevent git diff output printed in pr builder
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jul 29, 2024
1 parent 21d9961 commit f413b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Install dependencies
run: |
yarn
git diff --exit-code
git diff --exit-code > /dev/null
if [ $? -ne 0 ]; then
echo "There are modified files after running yarn."
exit 1
Expand Down

0 comments on commit f413b61

Please sign in to comment.