diff options
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: |