minor reformating
This commit is contained in:
parent
4e438f9096
commit
e9d7e21dbe
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ proc mainCommand*(graph: ModuleGraph) =
|
||||||
# so by default should not end up in $PWD nor in $projectPath.
|
# so by default should not end up in $PWD nor in $projectPath.
|
||||||
conf.outDir = block:
|
conf.outDir = block:
|
||||||
var ret = if optUseNimcache in conf.globalOptions: getNimcacheDir(conf)
|
var ret = if optUseNimcache in conf.globalOptions: getNimcacheDir(conf)
|
||||||
else: conf.projectPath
|
else: conf.projectPath
|
||||||
doAssert ret.string.isAbsolute # `AbsoluteDir` is not a real guarantee
|
doAssert ret.string.isAbsolute # `AbsoluteDir` is not a real guarantee
|
||||||
if docLikeCmd2: ret = ret / htmldocsDir
|
if docLikeCmd2: ret = ret / htmldocsDir
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue