Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Update autoformat.sh (#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
klshuster authored Sep 18, 2021
1 parent 3a97edf commit babe7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoformat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fi
if [[ $RUN_ALL_FILES -eq 1 ]]; then
CHECK_FILES="$(git $REPO ls-files | grep '\.py$' | reroot $ROOT | onlyexists $ROOT | tr '\n' ' ')"
else
CHECK_FILES="$(git $REPO diff --name-only master... | grep '\.py$' | reroot $ROOT | onlyexists | tr '\n' ' ')"
CHECK_FILES="$(git $REPO diff --name-only main... | grep '\.py$' | reroot $ROOT | onlyexists | tr '\n' ' ')"
fi

# if we're doing all the tests, we should run them in serial
Expand Down

0 comments on commit babe7fa

Please sign in to comment.