diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-14 15:21:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-14 15:21:29 +0800 |
commit | 3ff78829aeed9c635f106ae7c8ee507ea5a8188c (patch) | |
tree | af7f7d49e63ff6aaf1d2b1bf3951f5ed8ce406fb /make/bootstrap.lua | |
parent | f97aaf0cb1846294b34de542135ef3c01f4bea3c (diff) | |
download | lua-language-server-3ff78829aeed9c635f106ae7c8ee507ea5a8188c.zip |
update workflows
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r-- | make/bootstrap.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua index e9e61c77..36b9ce96 100644 --- a/make/bootstrap.lua +++ b/make/bootstrap.lua @@ -49,7 +49,7 @@ local root; do sep = '/\\'
end
local pattern = "["..sep.."][^"..sep.."]+"
- root = package.cpath:match("([^;]+)"..pattern..pattern..pattern.."$")
+ root = package.cpath:match("([^;]+)"..pattern..pattern.."$")
arg[0] = root .. package.config:sub(1,1) .. 'main.lua'
end
root = root:gsub('[/\\]', package.config:sub(1,1))
|