fixes #28 windows cmd error
This commit is contained in:
parent
e766dd75ae
commit
988e6e5fcc
@ -140,7 +140,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if !raw && !tty {
|
if !raw && !tty && runtime.GOOS != "windows" {
|
||||||
fi, err := os.Stdout.Stat()
|
fi, err := os.Stdout.Stat()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err.Error())
|
fmt.Fprintln(os.Stderr, err.Error())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user