From 8c634cdb2b12c9dff15ac31820df7ecf0c6c3497 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 28 Nov 2017 02:50:54 +0100 Subject: [PATCH] make the tests green again --- compiler/docgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 94cba4ffd..9a32636c2 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -793,7 +793,7 @@ proc commandRstAux(filename, outExt: string) = var outp: string if filename.len == 0: inc(d.id) - outp = getNimcacheDir() / splitFile(d.filename).name & "_snippet_" & $d.id & ".nim" + outp = completeGeneratedFilePath(splitFile(d.filename).name & "_snippet_" & $d.id & ".nim") elif isAbsolute(filename): outp = filename else: