Skip to content

Commit

Permalink
Merge pull request #966 from nlepage/feature/nacl
Browse files Browse the repository at this point in the history
Add a checkTerminal for nacl to support running on play.golang.org
  • Loading branch information
dgsb authored May 18, 2019
2 parents f2849a8 + 1bc909a commit e0108d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions terminal_check_nacl.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// +build nacl

package logrus

import (
"io"
)

func checkIfTerminal(w io.Writer) bool {
return false
}
2 changes: 1 addition & 1 deletion terminal_check_notappengine.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !appengine,!js,!windows
// +build !appengine,!js,!windows,!nacl

package logrus

Expand Down

0 comments on commit e0108d9

Please sign in to comment.