From 80b2d4c5a8d4f4b66822c39e8bed05e954580db7 Mon Sep 17 00:00:00 2001 From: Oleg Ginzburg Date: Fri, 17 May 2019 13:24:05 +0300 Subject: [PATCH] log: fix typo in Fatalf func fixed for x1b[31m[FATA] output --- internal/log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/log/log.go b/internal/log/log.go index 993f0dad..80abb7ea 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -145,7 +145,7 @@ func Print(format string, args ...interface{}) { // Fatalf ... func Fatalf(format string, args ...interface{}) { - log(1, "FATA", "x1b[31m", true, format, args...) + log(1, "FATA", "\x1b[31m", true, format, args...) os.Exit(1) }