From 686d1c2cffeede865ca059274cd1ec1ec1fd13f2 Mon Sep 17 00:00:00 2001 From: Jonathan West Date: Tue, 9 Jun 2020 07:48:13 -0400 Subject: [PATCH] Invalid ANSI colouring on Windows when doing devfile push --- pkg/log/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/log/status.go b/pkg/log/status.go index b78f4efe99f..77766172715 100644 --- a/pkg/log/status.go +++ b/pkg/log/status.go @@ -303,7 +303,7 @@ func Spinnerf(format string, a ...interface{}) *Status { // SpinnerNoSpin is the same as the "Spinner" function but forces no spinning func SpinnerNoSpin(status string) *Status { - s := NewStatus(os.Stdout) + s := NewStatus(GetStdout()) s.Start(status, true) return s }