Skip to content

Commit cee438b

Browse files
authored
[GP-CLI] fix gp preview not outputting stderr and stdout properly (#20166)
* [GP-CLI] fix `gp preview` not outputting stderr and stdout properly * remove stdout pipe
1 parent edfcf50 commit cee438b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/gitpod-cli/cmd/preview.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func openPreview(gpBrowserEnvVar string, url string) error {
8484
args = append(args, url)
8585

8686
previewCmd := exec.Command(pcmd, args...)
87+
previewCmd.Stderr = os.Stderr
8788
err = previewCmd.Run()
8889
if err != nil {
8990
return err

0 commit comments

Comments
 (0)