Skip to content

Commit 17c502d

Browse files
committed
bump luv to 1.51.0-2
1 parent 44abee7 commit 17c502d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/lua/init.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ return function(args)
115115
for i = 1, #args do
116116
local arg = args[i]
117117
if arg == "--" then
118+
local appArgsStart = i
118119
if #bundles == 0 then
119-
i = i + 1
120-
bundles[1] = args[i]
120+
appArgsStart = appArgsStart + 1
121+
bundles[1] = args[appArgsStart]
121122
end
122-
for j = i + 1, #args do
123+
for j = appArgsStart + 1, #args do
123124
appArgs[#appArgs + 1] = args[j]
124125
end
125126
break

0 commit comments

Comments
 (0)