Revert: Change fix formatting command
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git status --porcelain
|
git status --porcelain
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
echo 'To fix this check, run "go run golang.org/x/tools/cmd/goimports -w $(find . -name \'*.go\' | grep -v \'_gen.go\$\') && go mod tidy"'
|
echo 'To fix this check, run "goimports -w $(find . -name '*.go' | grep -v '_gen.go$') && go mod tidy"'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user