diff options
-rw-r--r-- | compiler/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index 774dd7625..ab074aa1f 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -249,7 +249,7 @@ proc mainCommand*(graph: ModuleGraph) = # so by default should not end up in $PWD nor in $projectPath. conf.outDir = block: 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 if docLikeCmd2: ret = ret / htmldocsDir ret |