Skip to content

Commit

Permalink
debug go-fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeke committed Aug 17, 2022
1 parent 1ae458b commit bc3acdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/go-fmt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
#!/bin/sh -x

if [ "$IS_CONTAINER" != "" ]; then
for TARGET in "${@}"; do
find "${TARGET}" -name '*.go' ! -path '*/vendor/*' ! -path '*/build/*' -exec gofmt -s -w {} \+
Expand Down

0 comments on commit bc3acdf

Please sign in to comment.