mirror of
https://github.com/ericchiang/pup
synced 2025-01-14 17:50:59 +00:00
vendor: fix go-iastty to not break on unknown operating systems
This commit is contained in:
parent
c1c3dc36d0
commit
9f43e85921
2
pup.go
2
pup.go
@ -16,7 +16,7 @@ import (
|
||||
// |/ \_( # |"
|
||||
// C/ ,--___/
|
||||
|
||||
var VERSION string = "0.3.9"
|
||||
var VERSION string = "0.4.0"
|
||||
|
||||
func main() {
|
||||
// process flags and arguments
|
||||
|
8
vendor/github.com/mattn/go-isatty/isatty_unsupported.go
generated
vendored
Normal file
8
vendor/github.com/mattn/go-isatty/isatty_unsupported.go
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
// +build dragonfly nacl plan9
|
||||
|
||||
package isatty
|
||||
|
||||
// IsTerminal return true if the file descriptor is terminal.
|
||||
func IsTerminal(fd uintptr) bool {
|
||||
return false
|
||||
}
|
Loading…
Reference in New Issue
Block a user