Skip to content

Commit afefa68

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 2a3ec95 commit afefa68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/misc.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ function Cryptid.pluralize(str, vars)
184184
table.insert(_table, v)
185185
end
186186
local num = vars[tonumber(string.match(str, ">(%d+)"))] -- gets reference variable
187-
if type(num) == 'string' then num = (Big and to_number(to_big(num))) or num end
187+
if type(num) == "string" then
188+
num = (Big and to_number(to_big(num))) or num
189+
end
188190
local plural = _table[1] -- default
189191
local checks = { [1] = "=" } -- checks 1 by default
190192
local checks1mod = false -- tracks if 1 was modified

0 commit comments

Comments
 (0)