summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-07-03 14:04:23 -0700
committerGitHub <noreply@github.com>2020-07-03 23:04:23 +0200
commit695154970d839add2fbbe9754e9e638511120729 (patch)
tree48b43613261cb982b7e408c96a7cf6688526dd68 /compiler
parent4f6acf24ffde4c43ea9f8c954265d23312453b31 (diff)
downloadNim-695154970d839add2fbbe9754e9e638511120729.tar.gz
deprecate existsDir; use dirExists instead (#14884)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/docgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index f501dcc8d..cb8c77e87 100644
--- a/compiler/docgen.nim
+++ b/compiler/docgen.nim
@@ -82,7 +82,7 @@ proc presentationPath*(conf: ConfigRef, file: AbsoluteFile, isTitle = false): Re
     # we're (currently) requiring `isAbsolute` to avoid confusion when passing
     # a relative path (would it be relative wrt $PWD or to projectfile)
     conf.globalAssert conf.docRoot.isAbsolute, arg=conf.docRoot
-    conf.globalAssert conf.docRoot.existsDir, arg=conf.docRoot
+    conf.globalAssert conf.docRoot.dirExists, arg=conf.docRoot
     # needed because `canonicalizePath` called on `file`
     result = file.relativeTo conf.docRoot.expandFilename.AbsoluteDir
   else: