vendor; update protobuild

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett 2019-10-03 11:21:01 -04:00
parent 5c2daadf80
commit c677518065
No known key found for this signature in database
GPG key ID: A519480096146526
823 changed files with 424082 additions and 13 deletions

View file

@ -0,0 +1,17 @@
// +build !appengine,!js,!windows,!nacl,!plan9
package logrus
import (
"io"
"os"
)
func checkIfTerminal(w io.Writer) bool {
switch v := w.(type) {
case *os.File:
return isTerminal(int(v.Fd()))
default:
return false
}
}