Merge pull request #966 from nlepage/feature/nacl

Add a checkTerminal for nacl to support running on play.golang.org
This commit is contained in:
David Bariod 2019-05-18 10:33:20 +02:00 committed by GitHub
commit e0108d9285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

11
terminal_check_nacl.go Normal file
View File

@ -0,0 +1,11 @@
// +build nacl
package logrus
import (
"io"
)
func checkIfTerminal(w io.Writer) bool {
return false
}

View File

@ -1,4 +1,4 @@
// +build !appengine,!js,!windows
// +build !appengine,!js,!windows,!nacl
package logrus