diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-26 15:14:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-26 16:20:01 +0800 |
commit | a55b04fc938b5b689201a7e3d330a7be9009e8ba (patch) | |
tree | 7c820224337ec82326cd549eb7b2e0d429faf513 /make/bootstrap.lua | |
parent | 1ed66a5e5ca3e26e82c64e9040784496a0396d3f (diff) | |
download | lua-language-server-a55b04fc938b5b689201a7e3d330a7be9009e8ba.zip |
update bootstrap
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r-- | make/bootstrap.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua index f01646a0..e9e61c77 100644 --- a/make/bootstrap.lua +++ b/make/bootstrap.lua @@ -52,6 +52,7 @@ local root; do root = package.cpath:match("([^;]+)"..pattern..pattern..pattern.."$")
arg[0] = root .. package.config:sub(1,1) .. 'main.lua'
end
+ root = root:gsub('[/\\]', package.config:sub(1,1))
end
package.path = table.concat({
|