Skip to content

Commit

Permalink
Fix minStar lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehsan-saradar committed Dec 6, 2023
1 parent 9f8acbc commit f38c94d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marketplace/cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewList() *cobra.Command {
return c
}

func searchIgniteApps(ctx context.Context, query string, minStar uint) ([]*github.Repository, int, error) {
func searchIgniteApps(ctx context.Context, query string, minStars uint) ([]*github.Repository, int, error) {
client := xgithub.NewClient(githubToken)

opts := &github.SearchOptions{
Expand All @@ -66,7 +66,7 @@ func searchIgniteApps(ctx context.Context, query string, minStar uint) ([]*githu
xgithub.StringQuery(query),
xgithub.LanguageQuery("go"),
xgithub.TopicQuery(igniteAppTopic),
xgithub.MinStarsQuery(int(10)))
xgithub.MinStarsQuery(int(minStars)))
if err != nil {
return nil, 0, err
}
Expand Down

0 comments on commit f38c94d

Please sign in to comment.