os.nim: don't use echo for error reporting

This commit is contained in:
Andreas Rumpf 2018-05-18 20:16:30 +02:00
commit 3af5a5d9e3

View file

@ -907,7 +907,7 @@ proc rawCreateDir(dir: string): bool =
elif errno == EEXIST: elif errno == EEXIST:
result = false result = false
else: else:
echo res #echo res
raiseOSError(osLastError()) raiseOSError(osLastError())
else: else:
when useWinUnicode: when useWinUnicode: