summary refs log tree commit diff stats
path: root/tools/atlas
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-05-28 14:58:23 +0800
committerGitHub <noreply@github.com>2023-05-28 08:58:23 +0200
commit5997324709788aaf0e5a17aaa1ccfce208f84ce1 (patch)
treebe4c6be63bffb69892d19ccb3558b60103f1cdf0 /tools/atlas
parent9cb0fcf319976431a02d3f64520fb395c36aa70e (diff)
downloadNim-5997324709788aaf0e5a17aaa1ccfce208f84ce1.tar.gz
fixes atlas logging colors on windows (#21946)
fixes atlas logging colors
Diffstat (limited to 'tools/atlas')
-rw-r--r--tools/atlas/atlas.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/atlas/atlas.nim b/tools/atlas/atlas.nim
index dc3d67fbe..dc38c4e5b 100644
--- a/tools/atlas/atlas.nim
+++ b/tools/atlas/atlas.nim
@@ -223,21 +223,21 @@ proc warn(c: var AtlasContext; p: PackageName; arg: string) =
   if c.noColors:
     message(c, "[Warning] ", p, arg)
   else:
-    stdout.styledWriteLine(fgYellow, styleBright, "[Warning] ", resetStyle, fgCyan, "(", p.string, ")", fgDefault, " ", arg)
+    stdout.styledWriteLine(fgYellow, styleBright, "[Warning] ", resetStyle, fgCyan, "(", p.string, ")", resetStyle, " ", arg)
   inc c.errors
 
 proc error(c: var AtlasContext; p: PackageName; arg: string) =
   if c.noColors:
     message(c, "[Error] ", p, arg)
   else:
-    stdout.styledWriteLine(fgRed, styleBright, "[Error] ", resetStyle, fgCyan, "(", p.string, ")", fgDefault, " ", arg)
+    stdout.styledWriteLine(fgRed, styleBright, "[Error] ", resetStyle, fgCyan, "(", p.string, ")", resetStyle, " ", arg)
   inc c.errors
 
 proc info(c: var AtlasContext; p: PackageName; arg: string) =
   if c.noColors:
     message(c, "[Info] ", p, arg)
   else:
-    stdout.styledWriteLine(fgGreen, styleBright, "[Info] ", resetStyle, fgCyan, "(", p.string, ")", fgDefault, " ", arg)
+    stdout.styledWriteLine(fgGreen, styleBright, "[Info] ", resetStyle, fgCyan, "(", p.string, ")", resetStyle, " ", arg)
 
 proc sameVersionAs(tag, ver: string): bool =
   const VersionChars = {'0'..'9', '.'}