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 | |
parent | f97aaf0cb1846294b34de542135ef3c01f4bea3c (diff) | |
download | lua-language-server-3ff78829aeed9c635f106ae7c8ee507ea5a8188c.zip |
update workflows
-rw-r--r-- | .github/workflows/build.yml | 1 | ||||
-rw-r--r-- | make/bootstrap.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5a5898a..eaf0dbd9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,7 @@ jobs: path: | main.lua debugger.lua + changelog.md locale meta script 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))
|