diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-07-03 14:04:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 23:04:23 +0200 |
commit | 695154970d839add2fbbe9754e9e638511120729 (patch) | |
tree | 48b43613261cb982b7e408c96a7cf6688526dd68 /tools/nimgrep.nim | |
parent | 4f6acf24ffde4c43ea9f8c954265d23312453b31 (diff) | |
download | Nim-695154970d839add2fbbe9754e9e638511120729.tar.gz |
deprecate existsDir; use dirExists instead (#14884)
Diffstat (limited to 'tools/nimgrep.nim')
-rw-r--r-- | tools/nimgrep.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nimgrep.nim b/tools/nimgrep.nim index e4f0e91aa..138f1680c 100644 --- a/tools/nimgrep.nim +++ b/tools/nimgrep.nim @@ -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: |