From e9718da7a1e9e3c175877fc65a1c38def53bbfab Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Wed, 4 May 2022 17:00:00 +0200 Subject: [PATCH] Use more readable QuitSuccess --- src/js/watch.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/watch.nim b/src/js/watch.nim index e278529..8576341 100644 --- a/src/js/watch.nim +++ b/src/js/watch.nim @@ -40,7 +40,7 @@ proc compileEcho(p: Process) {.thread.} = let exitStatus = p.peekExitCode() case exitStatus: - of 0: timedEcho("Compilation Succeded", Success) + of QuitSuccess: timedEcho("Compilation Succeded", Success) else: timedEcho("COMPILATION ERRORED!!", Error) p.close()