Avoid displaying upgrade notice if any output is redirected. This also alleviates the need to specifically check for `gh completion -s <shell>`, `gh __complete`, and other scripting scenarios where we absolutely don't want to trigger any upgrade checks or notices. |
||
|---|---|---|
| .. | ||
| gen-docs | ||
| gh | ||