Skip to content

Commit c125201

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(git.go): send stderr also to sidechannel
1 parent ba61100 commit c125201

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/git/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func plumbCommand(cmd *exec.Cmd, channel ssh.Channel, sidechannel io.Writer) *sy
160160
}()
161161

162162
cmd.Stdout = channel
163-
cmd.Stderr = channel.Stderr()
163+
cmd.Stderr = io.MultiWriter(channel.Stderr(), sidechannel)
164164

165165
return &wg
166166
}

0 commit comments

Comments
 (0)