Skip to content

Commit

Permalink
Fix typo and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoKobalamyne authored and Eitan Joffe committed May 29, 2022
1 parent 4894734 commit e5234bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions github/githubclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/rs/zerolog/log"
"github.com/shurcooL/githubv4"
"golang.org/x/oauth2"
"mvdan.cc/xurls"
)

// hub cli config (https://hub.github.com)
Expand Down Expand Up @@ -394,7 +393,7 @@ func formatBody(commit git.Commit, stack []*github.PullRequest) string {
return strings.TrimSpace(commit.Body)
}

if body == "" {
if commit.Body == "" {
return fmt.Sprintf("**Stack**:\n%s",
addManualMergeNotice(formatStackMarkdown(commit, stack)))
}
Expand Down

0 comments on commit e5234bd

Please sign in to comment.