Skip to content

Commit

Permalink
fix: doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu committed Feb 15, 2024
1 parent 7f4ef61 commit add4024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/mocks/simple_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type SimpleConfig struct {
SearchProjectWithClientsName bool
}

// IsSearchProjectWithClientName defines if the project name for ID should
// IsSearchProjectWithClientsName defines if the project name for ID should
// include the client's name
func (s *SimpleConfig) IsSearchProjectWithClientsName() bool {
return s.SearchProjectWithClientsName
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmdutil/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type Config interface {
// InteractivePageSize sets how many items are shown when prompting
// projects
InteractivePageSize() int
// IsSearchProjectWithClientName defines if the project name for ID should
// IsSearchProjectWithClientsName defines if the project name for ID should
// include the client's name
IsSearchProjectWithClientsName() bool

Expand All @@ -85,7 +85,7 @@ type Config interface {

type config struct{}

// IsSearchProjectWithClientName defines if the project name for ID should
// IsSearchProjectWithClientsName defines if the project name for ID should
// include the client's name
func (c *config) IsSearchProjectWithClientsName() bool {
return c.GetBool(CONF_SEARCH_PROJECTS_WITH_CLIENT_NAME)

Check warning on line 91 in pkg/cmdutil/config.go

View check run for this annotation

Codecov / codecov/patch

pkg/cmdutil/config.go#L90-L91

Added lines #L90 - L91 were not covered by tests
Expand Down

0 comments on commit add4024

Please sign in to comment.