ci: format
Some checks are pending
quality / changes (push) Waiting to run
quality / Lua Format Check (push) Blocked by required conditions
quality / Lua Lint Check (push) Blocked by required conditions
quality / Lua Type Check (push) Blocked by required conditions
quality / Markdown Format Check (push) Blocked by required conditions
quality / Mapping Sync Check (push) Waiting to run
Some checks are pending
quality / changes (push) Waiting to run
quality / Lua Format Check (push) Blocked by required conditions
quality / Lua Lint Check (push) Blocked by required conditions
quality / Lua Type Check (push) Blocked by required conditions
quality / Markdown Format Check (push) Blocked by required conditions
quality / Mapping Sync Check (push) Waiting to run
This commit is contained in:
parent
e9a1612365
commit
949da427bf
1 changed files with 3 additions and 3 deletions
|
|
@ -30,10 +30,10 @@ for name in pairs(colors) do
|
|||
end
|
||||
table.sort(names)
|
||||
|
||||
io.write("---@type table<string, { [1]: string, [2]: integer }>\n")
|
||||
io.write("local M = {\n")
|
||||
io.write('---@type table<string, { [1]: string, [2]: integer }>\n')
|
||||
io.write('local M = {\n')
|
||||
for _, name in ipairs(names) do
|
||||
local c = colors[name]
|
||||
io.write(string.format(" ['%s'] = { '%s', %d },\n", name, c[1], c[2]))
|
||||
end
|
||||
io.write("}\n\nreturn M\n")
|
||||
io.write('}\n\nreturn M\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue