From 1104e4489448d61b74717956d1b585ec9d789064 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Thu, 21 Sep 2023 17:49:31 -0500 Subject: [PATCH] chore: goimports + gofumpt Signed-off-by: jolheiser --- config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.nix b/config.nix index da96272..0c8ef0b 100644 --- a/config.nix +++ b/config.nix @@ -152,7 +152,8 @@ { name = "go"; formatter = { - command = "${gofumpt}/bin/gofumpt"; + command = "sh"; + args = ["-c" "set -o pipefail; ${gotools}/bin/goimports | ${gofumpt}/bin/gofumpt"]; }; } {