Skip to content

Commit

Permalink
try to fix go-fumpt.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Apr 10, 2024
1 parent c61cf2b commit 40c17ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion avm_scripts/go-fumpt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
echo "==> Fixing source code with Gofumpt..."
set -e
files=$(find . -name '*.go' | grep -v vendor); if [ -n "$files" ]; then echo "skip" | xargs gofumpt -w; fi
find . -name '*.go' | grep -v vendor | xargs gofumpt -w
2 changes: 1 addition & 1 deletion avm_scripts_canary/go-fumpt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
echo "==> Fixing source code with Gofumpt..."
set -e
files=$(find . -name '*.go' | grep -v vendor); if [ -n "$files" ]; then echo "skip" | xargs gofumpt -w; fi
find . -name '*.go' | grep -v vendor | xargs gofumpt -w

0 comments on commit 40c17ef

Please sign in to comment.