mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-17 14:31:15 +00:00
fixes #8831
This commit is contained in:
@@ -286,7 +286,7 @@ proc nodeToHighlightedHtml(d: PDoc; n: PNode; result: var Rope; renderFlags: TRe
|
||||
[rope(esc(d.target, literal))])
|
||||
|
||||
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"
|
||||
createDir(outputDir)
|
||||
let inp = toFullPath(d.conf, d.runnableExamples.info)
|
||||
|
||||
Reference in New Issue
Block a user