diff options
Diffstat (limited to 'script/cli/doc.lua')
-rw-r--r-- | script/cli/doc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/cli/doc.lua b/script/cli/doc.lua index 6d5fe596..7ba40c78 100644 --- a/script/cli/doc.lua +++ b/script/cli/doc.lua @@ -3,7 +3,7 @@ local furi = require 'file-uri' local ws = require 'workspace' local files = require 'files' local util = require 'utility' -local json = require 'json-beautify' +local jsonb = require 'json-beautify' local lang = require 'language' local define = require 'proto.define' local config = require 'config.config' @@ -258,7 +258,7 @@ lclient():start(function (client) end) local outpath = LOGPATH .. '/doc.json' -json.supportSparseArray = true -util.saveFile(outpath, json.beautify(results)) +jsonb.supportSparseArray = true +util.saveFile(outpath, jsonb.beautify(results)) require 'cli.doc2md' |