From a12a8bc25c54f91d6a9a26d9997178a7dac29c61 Mon Sep 17 00:00:00 2001 From: Jonathan Juares Beber Date: Wed, 1 Aug 2018 14:59:57 +0200 Subject: [PATCH] fix: typos (#743) --- internal/tmpl/tmpl.go | 2 +- pipeline/brew/brew_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/tmpl/tmpl.go b/internal/tmpl/tmpl.go index dc4c082ac..674e988b5 100644 --- a/internal/tmpl/tmpl.go +++ b/internal/tmpl/tmpl.go @@ -55,7 +55,7 @@ func New(ctx *context.Context) *Template { } } -// WithArtifacts populate fields from the artifact and replacements +// WithArtifact populates fields from the artifact and replacements func (t *Template) WithArtifact(a artifact.Artifact, replacements map[string]string) *Template { var bin = a.Extra[binary] if bin == "" { diff --git a/pipeline/brew/brew_test.go b/pipeline/brew/brew_test.go index 259ad8e8b..1dcded49e 100644 --- a/pipeline/brew/brew_test.go +++ b/pipeline/brew/brew_test.go @@ -101,7 +101,7 @@ func TestRunPipe(t *testing.T) { "custom_download_strategy": func(ctx *context.Context) { ctx.Config.Brew.DownloadStrategy = "GitHubPrivateRepositoryReleaseDownloadStrategy" }, - "binary_overriden": func(ctx *context.Context) { + "binary_overridden": func(ctx *context.Context) { ctx.Config.Archive.Format = "binary" ctx.Config.Archive.FormatOverrides = []config.FormatOverride{ {