Skip to content

Commit

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

0 comments on commit c61cf2b

Please sign in to comment.