deprecate existsDir; use dirExists instead (#14884)
This commit is contained in:
parent
4f6acf24ff
commit
695154970d
14 changed files with 32 additions and 39 deletions
|
|
@ -495,7 +495,7 @@ proc styleInsensitive(s: string): string =
|
|||
else: addx()
|
||||
|
||||
proc walker(pattern; dir: string; counter: var int, errors: var int) =
|
||||
if existsDir(dir):
|
||||
if dirExists(dir):
|
||||
for kind, path in walkDir(dir):
|
||||
case kind
|
||||
of pcFile:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue