Skip to content

Commit

Permalink
Stronger typing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Mar 19, 2022
1 parent 82a2de8 commit 65b70cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmdutil/chain.go
Expand Up @@ -226,7 +226,7 @@ func NeedsCloudDeployment(f *Factory) RunFunc {

// execTemplateSilent parses and executes a template, but still returns
// ErrSilent on success.
func execTemplateSilent(io *terminal.IO, tmplStr string, data any) (err error) {
func execTemplateSilent(io *terminal.IO, tmplStr string, data map[string]string) (err error) {
tmpl := template.New("util").Funcs(io.ColorScheme().TemplateFuncs())
if tmpl, err = tmpl.Parse(tmplStr); err != nil {
return err
Expand Down

0 comments on commit 65b70cc

Please sign in to comment.