Skip to content

Commit

Permalink
fixup! ci: check rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
catenacyber committed Jun 20, 2023
1 parent 5cd138e commit d334e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rustfmt.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
r=0
cat qa/rustfmt.txt | while read i; do
rustfmt $i;
if [ $(git diff | wc -l) -gt 0 ]; then
if [ $(git diff -- $i | wc -l) -gt 0 ]; then
git diff;
echo "$i" needs to be formatted
r=1;
Expand Down

0 comments on commit d334e4e

Please sign in to comment.