From 0a08d0af3b7265e8b2b601cdee52e396bac70129 Mon Sep 17 00:00:00 2001 From: Deluan Date: Tue, 16 May 2023 12:31:09 -0400 Subject: [PATCH] Change fix formatting command --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 0020139d3..6179124cc 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -39,7 +39,7 @@ jobs: run: | git status --porcelain if [ -n "$(git status --porcelain)" ]; then - echo 'To fix this check, run "goimports -w $(find . -name '*.go' | grep -v '_gen.go$') && go mod tidy"' + 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"' exit 1 fi