Skip to content

Commit d9d7f39

Browse files
committed
2.4.3
1 parent c38b456 commit d9d7f39

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# changelog
22

3+
## 2.4.3
4+
`2021-10-13`
5+
* `FIX` [#713](https://github.com/sumneko/lua-language-server/issues/713)
6+
* `FIX` [#718](https://github.com/sumneko/lua-language-server/issues/718)
7+
* `FIX` [#719](https://github.com/sumneko/lua-language-server/issues/719)
8+
* `FIX` [#725](https://github.com/sumneko/lua-language-server/issues/725)
9+
* `FIX` [#729](https://github.com/sumneko/lua-language-server/issues/729)
10+
* `FIX` [#730](https://github.com/sumneko/lua-language-server/issues/730)
11+
* `FIX` runtime errors
12+
313
## 2.4.2
414
`2021-10-8`
515
* `FIX` [#702](https://github.com/sumneko/lua-language-server/issues/702)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,5 +1550,5 @@
15501550
"type": "git",
15511551
"url": "https://github.com/sumneko/lua-language-server"
15521552
},
1553-
"version": "2.4.2"
1553+
"version": "2.4.3"
15541554
}

package/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "2.4.2"
3+
local VERSION = "2.4.3"
44

55
local package = require 'package.package'
66
local fsu = require 'fs-utility'

publish.lua

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
local currentPath = debug.getinfo(1, 'S').source:sub(2)
22
local rootPath = currentPath:gsub('[^/\\]-$', '')
3-
if rootPath == '' then
4-
rootPath = './'
5-
end
63
local fs = require 'bee.filesystem'
74
local subprocess = require 'bee.subprocess'
85
local platform = require 'bee.platform'
96
local thread = require 'bee.thread'
10-
local fsu = require 'fs-utility'
117
--dofile(rootPath .. 'server/test.lua')
128

139
package.path = package.path
14-
.. ';' .. rootPath .. '/?.lua'
10+
.. ';' .. rootPath .. '?.lua'
11+
.. ';' .. rootPath .. 'server/script/?.lua'
12+
13+
local fsu = require 'fs-utility'
1514
ROOT = fs.path(rootPath)
1615
fs.current_path(ROOT)
1716
require 'package.build'
@@ -59,7 +58,7 @@ local function copyFiles(root, out)
5958
if fs.is_directory(source) then
6059
fs.create_directory(target)
6160
if mode == true then
62-
for path in source:list_directory() do
61+
for path in fs.pairs(source) do
6362
copy(relative / path:filename(), true)
6463
end
6564
else
@@ -109,7 +108,7 @@ local function removeFiles(out)
109108
end
110109
if fs.is_directory(target) then
111110
if mode == true then
112-
for path in target:list_directory() do
111+
for path in fs.pairs(target) do
113112
remove(relative / path:filename(), true)
114113
end
115114
fs.remove(target)

server

0 commit comments

Comments
 (0)