summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-03-20 08:39:55 -0700
committerGitHub <noreply@github.com>2020-03-20 16:39:55 +0100
commit1d665adecde3b3bf16e64068e83c0b3cb0171856 (patch)
tree5081cb220073d43212c968af5861dfe3e3b0df4e /compiler
parent8215c576664e0bd689c16739f72d5b79cf302ec8 (diff)
downloadNim-1d665adecde3b3bf16e64068e83c0b3cb0171856.tar.gz
[RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other languages (#13642)
Co-authored-by: narimiran
Diffstat (limited to 'compiler')
-rw-r--r--compiler/scriptconfig.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/scriptconfig.nim b/compiler/scriptconfig.nim
index d53664912..13ab03426 100644
--- a/compiler/scriptconfig.nim
+++ b/compiler/scriptconfig.nim
@@ -65,7 +65,7 @@ proc setupVM*(module: PSym; cache: IdentCache; scriptName: string;
     if defined(nimsuggest) or graph.config.cmd == cmdCheck:
       discard
     else:
-      os.removeDir getString(a, 0)
+      os.removeDir(getString(a, 0), getBool(a, 1))
   cbos removeFile:
     if defined(nimsuggest) or graph.config.cmd == cmdCheck:
       discard