Skip to content

Commit

Permalink
fix: merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 28, 2022
1 parent 1b8395d commit f05f3b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/builders/golang/build.go
Expand Up @@ -170,7 +170,7 @@ func (*Builder) Build(ctx *context.Context, build config.Build, options api.Opti
testEnvs := []string{}
env = append(env, ctx.Env.Strings()...)
for _, e := range details.Env {
ee, err := tmpl.New(ctx).WithEnvS(env).WithArtifact(a, nil).Apply(e)
ee, err := tmpl.New(ctx).WithEnvS(env).WithArtifact(a).Apply(e)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion internal/pipe/brew/brew.go
Expand Up @@ -280,7 +280,7 @@ func doBuildFormula(ctx *context.Context, data templateData) (string, error) {
}

func installs(ctx *context.Context, cfg config.Homebrew, art *artifact.Artifact) ([]string, error) {
applied, err := tmpl.New(ctx).WithArtifact(art, nil).Apply(cfg.Install)
applied, err := tmpl.New(ctx).WithArtifact(art).Apply(cfg.Install)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit f05f3b5

Please sign in to comment.