diff options
Diffstat (limited to 'compiler/docgen.nim')
-rw-r--r-- | compiler/docgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 4af69745b..8f9ef4763 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -635,7 +635,7 @@ proc commandJSON*() = var d = newDocumentor(gProjectFull, options.gConfigVars) d.hasToc = true var json = generateJson(d, ast) - var content = newRope(pretty(json)) + var content = toRope(pretty(json)) if optStdout in gGlobalOptions: writeRope(stdout, content) |