Merge pull request #5357 from callumacrae/force-tty-pr-view
fix: respect `GH_FORCE_TTY` when running `gh pr view`
This commit is contained in:
commit
91c450ec60
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ func viewRun(opts *ViewOptions) error {
|
|||
return err
|
||||
}
|
||||
|
||||
connectedToTerminal := opts.IO.IsStdoutTTY() && opts.IO.IsStderrTTY()
|
||||
connectedToTerminal := opts.IO.IsStdoutTTY()
|
||||
|
||||
if opts.BrowserMode {
|
||||
openURL := pr.URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue