Skip to content

Commit 2485001

Browse files
committed
Temporary fix list --table handling
1 parent 957d488 commit 2485001

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ppm.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,6 +2203,7 @@ local function print_addon_info(type, addons, filters)
22032203
if TABLE then
22042204
local addons = common.grep(sorted, function(addon) return addon.status ~= "incompatible" end)
22052205
print(get_table(HEADER or common.map(TABLE, function(header)
2206+
if _G.type(header) == "function" then header = header() end
22062207
return ("" .. header:gsub("^.*%.", ""):gsub("^%l", string.upper):gsub("_", " "))
22072208
end), common.map(result[plural], function(addon)
22082209
return common.map(TABLE, function(header)

0 commit comments

Comments
 (0)