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

@ -77,7 +77,7 @@ task "testskel", "create skeleton test dir for testing":
task "clean", "cleanup generated files":
var dirs = @["nimcache", "server"/"nimcache"]
dirs.apply(proc(x: var string) =
if existsDir(x): removeDir(x))
if dirExists(x): removeDir(x))
task "download", "download game assets":
var