deprecate existsDir; use dirExists instead (#14884)

This commit is contained in:
Timothee Cour 2020-07-03 14:04:23 -07:00 • committed by GitHub
commit 695154970d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 32 additions and 39 deletions

View file

@ -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: