Skip to content

Commit e0108d9

Browse files
authored
Merge pull request #966 from nlepage/feature/nacl
Add a checkTerminal for nacl to support running on play.golang.org
2 parents f2849a8 + 1bc909a commit e0108d9

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

terminal_check_nacl.go

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// +build nacl
2+
3+
package logrus
4+
5+
import (
6+
"io"
7+
)
8+
9+
func checkIfTerminal(w io.Writer) bool {
10+
return false
11+
}

terminal_check_notappengine.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build !appengine,!js,!windows
1+
// +build !appengine,!js,!windows,!nacl
22

33
package logrus
44

0 commit comments

Comments
 (0)