fixes #8831
This commit is contained in:
parent
fd7fd1819c
commit
06dbe9697f
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ proc nodeToHighlightedHtml(d: PDoc; n: PNode; result: var Rope; renderFlags: TRe
|
||||||
[rope(esc(d.target, literal))])
|
[rope(esc(d.target, literal))])
|
||||||
|
|
||||||
proc testExamples*(d: PDoc) =
|
proc testExamples*(d: PDoc) =
|
||||||
if d.runnableExamples == nil: return
|
if d.runnableExamples == nil or d.conf.errorCounter > 0: return
|
||||||
let outputDir = d.conf.getNimcacheDir / "runnableExamples"
|
let outputDir = d.conf.getNimcacheDir / "runnableExamples"
|
||||||
createDir(outputDir)
|
createDir(outputDir)
|
||||||
let inp = toFullPath(d.conf, d.runnableExamples.info)
|
let inp = toFullPath(d.conf, d.runnableExamples.info)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue