-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Hello.
On windows:
Installed Git Shell
Installed gh
running any gh command on git shell (or native powershell for that matter) will produce:
panic: interface conversion: *colorable.Writer is not terminal.FileWriter: missing method Fd
goroutine 1 [running]:
github.com/cli/cli/v2/internal/prompter.New(...)
/home/runner/work/cli/cli/internal/prompter/prompter.go:29
github.com/cli/cli/v2/pkg/cmd/factory.newPrompter(0xc0003a42a0)
/home/runner/work/cli/cli/pkg/cmd/factory/default.go:117 +0xac
github.com/cli/cli/v2/pkg/cmd/factory.New({0x21ecfbc, 0x6})
/home/runner/work/cli/cli/pkg/cmd/factory/default.go:36 +0x1cf
main.mainRun()
/home/runner/work/cli/cli/cmd/gh/main.go:64 +0x108
main.main()
/home/runner/work/cli/cli/cmd/gh/main.go:48 +0x19
installed windows terminal and git as a workaround