remove lowercase sirupsen

This commit is contained in:
Matthew Hooker 2018-04-17 15:51:03 -07:00
parent 12f80208bb
commit 678f0647cc
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
2 changed files with 0 additions and 33 deletions

View File

@ -1,14 +0,0 @@
version: "{build}"
platform: x64
clone_folder: c:\gopath\src\github.com\sirupsen\logrus
environment:
GOPATH: c:\gopath
branches:
only:
- master
install:
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
- go version
build_script:
- go get -t
- go test

View File

@ -1,19 +0,0 @@
// +build !appengine,!gopherjs
package logrus
import (
"io"
"os"
"golang.org/x/crypto/ssh/terminal"
)
func checkIfTerminal(w io.Writer) bool {
switch v := w.(type) {
case *os.File:
return terminal.IsTerminal(int(v.Fd()))
default:
return false
}
}