Skip to content

Commit

Permalink
builder: Ignore tidy errors (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
francislavoie committed May 9, 2023
1 parent ae56370 commit c9644d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c9644d6

Please sign in to comment.