Skip to content

Commit

Permalink
Merge pull request #1855 from jdeniau/patch-1
Browse files Browse the repository at this point in the history
typo reviwedog -> reviewdog
  • Loading branch information
haya14busa authored Jul 26, 2024
2 parents 6c87f03 + 9299552 commit 4cf9bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/github/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (p *PullRequestDiffService) Diff(ctx context.Context) ([]byte, error) {
d, resp, err := p.Cli.PullRequests.GetRaw(ctx, p.Owner, p.Repo, p.PR, opt)
if err != nil {
if resp != nil && p.FallBackToGitCLI && resp.StatusCode == http.StatusNotAcceptable {
log.Print("reviwedog: fallback to use git command")
log.Print("reviewdog: fallback to use git command")
return p.diffUsingGitCommand(ctx)
}

Expand Down

0 comments on commit 4cf9bdf

Please sign in to comment.