From c07f1fd9b4de8c7d1e1b1c2e090d85e67a443bab Mon Sep 17 00:00:00 2001 From: Aaron U'Ren Date: Wed, 9 Oct 2024 17:52:02 -0500 Subject: [PATCH] feat(Makefile): run goimports on gofmt-fix --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 48956cf4bd..8ee3cd5dd5 100644 --- a/Makefile +++ b/Makefile @@ -191,6 +191,7 @@ gofmt: ## Tells you what files need to be gofmt'd. gofmt-fix: ## Fixes files that need to be gofmt'd. gofmt -s -w $(shell find . -not \( \( -wholename '*/vendor/*' \) -prune \) -name '*.go') + goimports -w $(shell find . -not \( \( -wholename '*/vendor/*' \) -prune \) -name '*.go') # List of all file_moq.go files which would need to be regenerated # from file.go if changed