[RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other languages (#13642)
Co-authored-by: narimiran
This commit is contained in:
parent
8215c57666
commit
1d665adecd
6 changed files with 56 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue