Skip to content

Commit 8dfa800

Browse files
committed
refactor(json-util): make indent option a boolean
1 parent 603c5b7 commit 8dfa800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/luarocks/build/lls-addon/json-util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ end
118118
---@param value any
119119
---@param opt? lls-addon.json-util.write-options
120120
function M.write(destinationPath, value, opt)
121-
local options = { indent = 2 }
121+
local options = { indent = true }
122122

123123
if opt then
124124
if opt.sortKeys then

0 commit comments

Comments
 (0)