Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDuPont committed Mar 28, 2024
1 parent 5c0cadc commit 908189b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
run: |
set +x
formatted_files=$(find ./config ./src ./tools -newer /tmp/pre_fmt)
num_formatted_files=$(echo $formatted_files | wc -l)
num_formatted_files=$(find ./config ./src ./tools -newer /tmp/pre_fmt | wc -l)
echo $num_formatted_files
if [ "$num_formatted_files" -ne "0" ]; then
if [ "$num_formatted_files" -gt "0" ]; then
echo "❌🔥 Bad code detected! The following files would be reformatted:"
echo "$formatted_files"
exit 1
Expand Down

0 comments on commit 908189b

Please sign in to comment.