Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 13, 2020
1 parent 11cd18f commit 71e2dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/docgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ proc writeOutput*(d: PDoc, useWarning = false) =
if optStdout in d.conf.globalOptions:
writeRope(stdout, content)
else:
let outfile = d.destFile
template outfile: untyped = d.destFile
#let outfile = getOutFile2(d.conf, shortenDir(d.conf, filename), outExt, "htmldocs")
createDir(outfile.splitFile.dir)
if not writeRope(content, outfile):
Expand Down

0 comments on commit 71e2dee

Please sign in to comment.