Skip to content

Commit

Permalink
Remove duplicate lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
i-sevostyanov committed Oct 18, 2020
1 parent 50dd178 commit b61ae06
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/reviewdog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ func run(r io.Reader, w io.Writer, opt *option) error {
case "github-pr-check":
return runDoghouse(ctx, r, w, opt, isProject, true)
case "github-pr-review":
if os.Getenv("REVIEWDOG_GITHUB_API_TOKEN") == "" {
fmt.Fprintln(os.Stderr, "REVIEWDOG_GITHUB_API_TOKEN is not set")
return nil
}
gs, isPR, err := githubService(ctx, opt)
if err != nil {
return err
Expand Down

0 comments on commit b61ae06

Please sign in to comment.