From c9644d6e6b5cf6c359e46b5c1c356dbc171ab130 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Tue, 9 May 2023 13:58:48 -0400 Subject: [PATCH] builder: Ignore tidy errors (#142) --- builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.go b/builder.go index 9be4161..a9e4b78 100644 --- a/builder.go +++ b/builder.go @@ -107,7 +107,7 @@ func (b Builder) Build(ctx context.Context, outputFile string) error { log.Println("[INFO] Building Caddy") // tidy the module to ensure go.mod and go.sum are consistent with the module prereq - tidyCmd := buildEnv.newGoModCommand(ctx, "tidy") + tidyCmd := buildEnv.newGoModCommand(ctx, "tidy", "-e") if err := buildEnv.runCommand(ctx, tidyCmd); err != nil { return err }