Skip to content

Commit 33041c0

Browse files
sat
1 parent 2572573 commit 33041c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/luargv/compact_flag.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ end
3333
luargv.get_compact_flags_size = function(flags)
3434
local converted_flags = flags
3535
if luargv.type(flags) == "string" then
36-
---@type string
37-
flags = flags
38-
converted_flags = { flags }
36+
37+
flags = { flags }
3938
end
4039
local total = 0
4140
for i = 1, #flags do

0 commit comments

Comments
 (0)