Skip to content

Commit

Permalink
Add a checkTerminal for nacl to support running on play.golang.org
Browse files Browse the repository at this point in the history
  • Loading branch information
nlepage committed May 14, 2019
1 parent 2447eff commit 5da6a45
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 5da6a45

Please sign in to comment.