Skip to content

Commit

Permalink
refactor: rename Prefixes Option
Browse files Browse the repository at this point in the history
this commit renames Prefixes.Option to .Options to keep
the naming convention defined in other objects.

Signed-off-by: Sebastian Webber <[email protected]>
  • Loading branch information
sebastianwebber committed Mar 20, 2024
1 parent d6dc116 commit ffb6164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ func loadConfig() ([]huh.Option[string], []huh.Option[string], []huh.Option[stri
c.ShowIntro = &showIntro
}

return c.Prefixes.Option(), c.Coauthors.Options(), c.Boards.Options(), *c.ShowIntro, nil
return c.Prefixes.Options(), c.Coauthors.Options(), c.Boards.Options(), *c.ShowIntro, nil
}
2 changes: 1 addition & 1 deletion pkg/config/prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var (
}
)

func (p *Prefixes) Option() []huh.Option[string] {
func (p *Prefixes) Options() []huh.Option[string] {

prefixes := []Prefix(*p)

Expand Down

0 comments on commit ffb6164

Please sign in to comment.