diff options
Diffstat (limited to 'script/client.lua')
-rw-r--r-- | script/client.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/client.lua b/script/client.lua index 14320edf..9acb8ec5 100644 --- a/script/client.lua +++ b/script/client.lua @@ -6,7 +6,7 @@ local proto = require 'proto' local define = require 'proto.define' local config = require 'config' local converter = require 'proto.converter' -local json = require 'json-beautify' +local jsonb = require 'json-beautify' local await = require 'await' local scope = require 'workspace.scope' local inspect = require 'inspect' @@ -243,7 +243,7 @@ local function tryModifySpecifiedConfig(uri, finalChanges) if not path then return false end - util.saveFile(path, json.beautify(scp:get('lastLocalConfig'), { indent = ' ' })) + util.saveFile(path, jsonb.beautify(scp:get('lastLocalConfig'), { indent = ' ' })) return true end @@ -274,7 +274,7 @@ local function tryModifyRC(uri, finalChanges, create) if not suc then return false end - util.saveFile(path, json.beautify(rc, { indent = ' ' })) + util.saveFile(path, jsonb.beautify(rc, { indent = ' ' })) return true end |