summaryrefslogtreecommitdiff
path: root/make/bootstrap.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-11 21:52:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-11 21:52:24 +0800
commit1bb9e3ffc8f3fd329379a48749ad4d60b9e95b72 (patch)
tree621eceff196098b4821cab0739cfefd104cbdc1b /make/bootstrap.lua
parentd3d0f7aa6732b637d661d1ede2fbf1f293a2abc8 (diff)
downloadlua-language-server-1bb9e3ffc8f3fd329379a48749ad4d60b9e95b72.zip
update bootstrap
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r--make/bootstrap.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua
index cf908b67..74eb850b 100644
--- a/make/bootstrap.lua
+++ b/make/bootstrap.lua
@@ -11,6 +11,7 @@ while arg[i] do
elseif not main and arg[i]:sub(1, 1) ~= '-' then
main = i
end
+ i = i + 1
end
if main then
@@ -32,10 +33,6 @@ else
arg[0] = 'main.lua'
end
-for k, v in pairs(arg) do
- print(k, v)
-end
-
local root; do
local sep = package.config:sub(1,1)
if sep == '\\' then