summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-01-11 21:56:05 +0100
committerAraq <rumpf_a@web.de>2014-01-11 21:56:05 +0100
commit346443d1b552574c1f259cd9e6080c2d0063fa9c (patch)
tree0f319406b8312ed325bbb1ef1ea5b7ef74662e07 /koch.nim
parent437cfa73abd8fdf878cc2af2c44acbc4b6ec3a56 (diff)
downloadNim-346443d1b552574c1f259cd9e6080c2d0063fa9c.tar.gz
case consistency improvements
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index 2dac27fbf..1b5c96b23 100644
--- a/koch.nim
+++ b/koch.nim
@@ -178,9 +178,9 @@ proc cleanAux(dir: string) =
       of "nimcache": 
         echo "removing dir: ", path
         removeDir(path)
-      of "dist", ".git", "icons": nil
+      of "dist", ".git", "icons": discard
       else: cleanAux(path)
-    else: nil
+    else: discard
 
 proc removePattern(pattern: string) = 
   for f in walkFiles(pattern):