Skip to content

Commit

Permalink
fix requirekey #4991
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 19, 2024
1 parent d2c2bad commit 097ec93
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ function main(requireinfo, opt)
if configs then
local configs_order = {}
for k, v in pairs(configs) do
if type(v) == "table" then
v = string.serialize(v, {strip = true, indent = false, orderkeys = true})
end
table.insert(configs_order, k .. "=" .. tostring(v))
end
table.sort(configs_order)
Expand Down

0 comments on commit 097ec93

Please sign in to comment.