Skip to content

Commit 4162c08

Browse files
committed
fix(ghpr): Also redirect stderr outside
Signed-off-by: Cezar Craciunoiu <[email protected]>
1 parent 3dba9cb commit 4162c08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/ghpr/ghpr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ func NewPullRequestFromID(ctx context.Context, client *ghapi.GithubClient, ghOrg
177177
fmt.Sprintf("origin/%s", pr.baseBranch),
178178
)
179179
rebase.Stdout = log.G(ctx).WriterLevel(logrus.ErrorLevel)
180+
rebase.Stderr = log.G(ctx).WriterLevel(logrus.ErrorLevel)
180181
if rebase.Run(); err != nil {
181182
return nil, fmt.Errorf("could not rebase: %w", err)
182183
}

0 commit comments

Comments
 (0)