Use more readable QuitSuccess
This commit is contained in:
@@ -40,7 +40,7 @@ proc compileEcho(p: Process) {.thread.} =
|
|||||||
|
|
||||||
let exitStatus = p.peekExitCode()
|
let exitStatus = p.peekExitCode()
|
||||||
case exitStatus:
|
case exitStatus:
|
||||||
of 0: timedEcho("Compilation Succeded", Success)
|
of QuitSuccess: timedEcho("Compilation Succeded", Success)
|
||||||
else: timedEcho("COMPILATION ERRORED!!", Error)
|
else: timedEcho("COMPILATION ERRORED!!", Error)
|
||||||
|
|
||||||
p.close()
|
p.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user