From c49ef1d4bf8ba0994a478d210d58446327524490 Mon Sep 17 00:00:00 2001 From: Jessica Paczuski Date: Thu, 28 Mar 2019 11:32:49 +0100 Subject: [PATCH] Move terminal package fixes issue where terminal_check_notappengine.go can't access terminal package since terminal package is in an internal package --- {internal/terminal => terminal}/terminal_check_bsd.go | 0 {internal/terminal => terminal}/terminal_check_unix.go | 0 terminal_check_notappengine.go | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename {internal/terminal => terminal}/terminal_check_bsd.go (100%) rename {internal/terminal => terminal}/terminal_check_unix.go (100%) diff --git a/internal/terminal/terminal_check_bsd.go b/terminal/terminal_check_bsd.go similarity index 100% rename from internal/terminal/terminal_check_bsd.go rename to terminal/terminal_check_bsd.go diff --git a/internal/terminal/terminal_check_unix.go b/terminal/terminal_check_unix.go similarity index 100% rename from internal/terminal/terminal_check_unix.go rename to terminal/terminal_check_unix.go diff --git a/terminal_check_notappengine.go b/terminal_check_notappengine.go index 6f28f89..b61be8d 100644 --- a/terminal_check_notappengine.go +++ b/terminal_check_notappengine.go @@ -6,7 +6,7 @@ import ( "io" "os" - "github.com/sirupsen/logrus/internal/terminal" + "github.com/sirupsen/logrus/terminal" ) func checkIfTerminal(w io.Writer) bool {