Skip to content

Commit

Permalink
fix(ghpr): Also redirect stderr outside
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com>
  • Loading branch information
craciunoiuc committed Jan 27, 2024
1 parent 3dba9cb commit 4162c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ghpr/ghpr.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func NewPullRequestFromID(ctx context.Context, client *ghapi.GithubClient, ghOrg
fmt.Sprintf("origin/%s", pr.baseBranch),
)
rebase.Stdout = log.G(ctx).WriterLevel(logrus.ErrorLevel)
rebase.Stderr = log.G(ctx).WriterLevel(logrus.ErrorLevel)
if rebase.Run(); err != nil {
return nil, fmt.Errorf("could not rebase: %w", err)
}
Expand Down

0 comments on commit 4162c08

Please sign in to comment.