Skip to content

Commit 77c07aa

Browse files
authored
Merge pull request #147 from atomist-skills/chrispatrick-patch-3
Windows 10 and above support colours now.
2 parents aa495d2 + e58103c commit 77c07aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

log.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"net/http"
2323
"os"
2424
"regexp"
25-
"runtime"
2625
"runtime/debug"
2726
"strings"
2827

@@ -61,7 +60,7 @@ func init() {
6160
Log.SetFormatter(&logrus.TextFormatter{
6261
DisableTimestamp: true,
6362
PadLevelText: true,
64-
ForceColors: runtime.GOOS != "windows",
63+
ForceColors: true,
6564
})
6665
}
6766

0 commit comments

Comments
 (0)