Skip to content

Commit

Permalink
Merge pull request #9555 from crystalstall/trunk
Browse files Browse the repository at this point in the history
chore: fix some function names
  • Loading branch information
williammartin authored Sep 2, 2024
2 parents 192f57e + 5562c14 commit 2bd3c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/issue/shared/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func IssueFromArgWithFields(httpClient *http.Client, baseRepoFn func() (ghrepo.I
return issue, baseRepo, err
}

// IssuesFromArgWithFields loads 1 or more issues or pull requests with the specified fields. If some of the fields
// IssuesFromArgsWithFields loads 1 or more issues or pull requests with the specified fields. If some of the fields
// could not be fetched by GraphQL, this returns non-nil issues and a *PartialLoadError.
func IssuesFromArgsWithFields(httpClient *http.Client, baseRepoFn func() (ghrepo.Interface, error), args []string, fields []string) ([]*api.Issue, ghrepo.Interface, error) {
var issuesRepo ghrepo.Interface
Expand Down
2 changes: 1 addition & 1 deletion pkg/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func WithoutIndentation() glamour.TermRendererOption {
return ghMarkdown.WithoutIndentation()
}

// WithoutWrap is a rendering option that set the character limit for soft
// WithWrap is a rendering option that set the character limit for soft
// wrapping the markdown rendering. There is a max limit of 120 characters.
// If 0 is passed then wrapping is disabled.
func WithWrap(w int) glamour.TermRendererOption {
Expand Down

0 comments on commit 2bd3c22

Please sign in to comment.