Skip to content

Commit

Permalink
♻️ Simplify return type
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed May 10, 2022
1 parent 3407843 commit 357a6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flag_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ outer:
return result
}

func (v ValMap) Visitor() func(conf config.Config, node *yaml.Node) error {
func (v ValMap) Visitor() node.Visitor {
var fieldRe = regexp.MustCompile(`\.([A-Za-z_.]+)`)

return func(conf config.Config, node *yaml.Node) error {
Expand Down

0 comments on commit 357a6a2

Please sign in to comment.