mirror of
https://github.com/caddyserver/xcaddy.git
synced 2025-01-22 16:46:55 +01:00
builder: Ignore tidy errors (#142)
This commit is contained in:
parent
ae5637008a
commit
c9644d6e6b
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ func (b Builder) Build(ctx context.Context, outputFile string) error {
|
||||||
log.Println("[INFO] Building Caddy")
|
log.Println("[INFO] Building Caddy")
|
||||||
|
|
||||||
// tidy the module to ensure go.mod and go.sum are consistent with the module prereq
|
// 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 {
|
if err := buildEnv.runCommand(ctx, tidyCmd); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue