Skip to content

Commit

Permalink
cleanup: fix spacing in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
purnesh42H committed Jan 16, 2025
1 parent eff2abb commit 20f3918
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
36 changes: 0 additions & 36 deletions debug_output.txt

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ not git grep "\(import \|^\s*\)\"google.golang.org/grpc/interop/grpc_testing" --
# - Ensure that no trailing spaces are found.
not git grep '[[:blank:]]$'

# - Ensure that no comments have no space after //.
not git grep -n '^[[:space:]]*//[^[:space:]/]' -- '*.go' | grep -Ev '^[[:space:]]*//go:build'

# - Ensure that all files have a terminating newline.
git ls-files | not xargs -I {} sh -c '[ -n "$(tail -c 1 "{}" 2>/dev/null)" ] && echo "{}: No terminating new line found"' | fail_on_output

Expand Down

0 comments on commit 20f3918

Please sign in to comment.