replace wrt with proper word (#18724)

* what does wrt mean?

* clarify
This commit is contained in:
flywind 2021-08-22 12:21:53 +08:00 • committed by GitHub
commit 061a9183f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 6 deletions

View file

@ -172,7 +172,7 @@ proc presentationPath*(conf: ConfigRef, file: AbsoluteFile): RelativeFile =
if result.isEmpty: bail()
elif conf.docRoot.len > 0:
# we're (currently) requiring `isAbsolute` to avoid confusion when passing
# a relative path (would it be relative wrt $PWD or to projectfile)
# a relative path (would it be relative with regard to $PWD or to projectfile)
conf.globalAssert conf.docRoot.isAbsolute, arg=conf.docRoot
conf.globalAssert conf.docRoot.dirExists, arg=conf.docRoot
# needed because `canonicalizePath` called on `file`