Skip to content

Commit

Permalink
modify git grep to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
purnesh42H committed Sep 6, 2024
1 parent 9662581 commit 6135d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ revive \
-config "$(dirname "$0")/revive.toml" \
./...

# Error if trailing spaces found in any files excluding files in .git directory
git grep "[[:blank:]]$" -- | not grep -v '\.pb\.go\|protoc-gen-go-grpc\|grpc_testing_not_regenerate'
# Ensure that no trailing spaces are found.
not git grep '[[:blank:]]$'

echo SUCCESS

0 comments on commit 6135d8f

Please sign in to comment.