From 3af5a5d9e3604a903505a04d2747c04986e6042f Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 18 May 2018 20:16:30 +0200 Subject: [PATCH] os.nim: don't use echo for error reporting --- lib/pure/os.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 03445a0353..9f3045224e 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -907,7 +907,7 @@ proc rawCreateDir(dir: string): bool = elif errno == EEXIST: result = false else: - echo res + #echo res raiseOSError(osLastError()) else: when useWinUnicode: