Skip to content
Snippets Groups Projects
Commit d9d7f39b authored by 最萌小汐's avatar 最萌小汐
Browse files

2.4.3

parent c38b456b
No related branches found
No related tags found
No related merge requests found
# changelog
## 2.4.3
`2021-10-13`
* `FIX` [#713](https://github.com/sumneko/lua-language-server/issues/713)
* `FIX` [#718](https://github.com/sumneko/lua-language-server/issues/718)
* `FIX` [#719](https://github.com/sumneko/lua-language-server/issues/719)
* `FIX` [#725](https://github.com/sumneko/lua-language-server/issues/725)
* `FIX` [#729](https://github.com/sumneko/lua-language-server/issues/729)
* `FIX` [#730](https://github.com/sumneko/lua-language-server/issues/730)
* `FIX` runtime errors
## 2.4.2
`2021-10-8`
* `FIX` [#702](https://github.com/sumneko/lua-language-server/issues/702)
......
......@@ -1550,5 +1550,5 @@
"type": "git",
"url": "https://github.com/sumneko/lua-language-server"
},
"version": "2.4.2"
"version": "2.4.3"
}
local json = require 'json-beautify'
local VERSION = "2.4.2"
local VERSION = "2.4.3"
local package = require 'package.package'
local fsu = require 'fs-utility'
......
local currentPath = debug.getinfo(1, 'S').source:sub(2)
local rootPath = currentPath:gsub('[^/\\]-$', '')
if rootPath == '' then
rootPath = './'
end
local fs = require 'bee.filesystem'
local subprocess = require 'bee.subprocess'
local platform = require 'bee.platform'
local thread = require 'bee.thread'
local fsu = require 'fs-utility'
--dofile(rootPath .. 'server/test.lua')
package.path = package.path
.. ';' .. rootPath .. '/?.lua'
.. ';' .. rootPath .. '?.lua'
.. ';' .. rootPath .. 'server/script/?.lua'
local fsu = require 'fs-utility'
ROOT = fs.path(rootPath)
fs.current_path(ROOT)
require 'package.build'
......@@ -59,7 +58,7 @@ local function copyFiles(root, out)
if fs.is_directory(source) then
fs.create_directory(target)
if mode == true then
for path in source:list_directory() do
for path in fs.pairs(source) do
copy(relative / path:filename(), true)
end
else
......@@ -109,7 +108,7 @@ local function removeFiles(out)
end
if fs.is_directory(target) then
if mode == true then
for path in target:list_directory() do
for path in fs.pairs(target) do
remove(relative / path:filename(), true)
end
fs.remove(target)
......
Subproject commit 8f24287d7f1190a5fff5f85de3f403d84bebf79c
Subproject commit cdb2213b9f780b5fe6153ef706cf1ca17a0ed01f
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment