mirror of
https://github.com/0x5eal/terracotta.git
synced 2024-12-12 12:50:35 +00:00
chore(scripts): make script unused var declaration in loop
This commit is contained in:
parent
421b16e2c0
commit
bc2c63160e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ local BoxifyOutput = function(msg: string)
|
||||||
local lines = msg:split("\n")
|
local lines = msg:split("\n")
|
||||||
local paddingNum = 0
|
local paddingNum = 0
|
||||||
|
|
||||||
for k, line in lines do
|
for _, line in lines do
|
||||||
if paddingNum and #line > paddingNum then
|
if paddingNum and #line > paddingNum then
|
||||||
paddingNum = math.round(#line / 2)
|
paddingNum = math.round(#line / 2)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue