summaryrefslogtreecommitdiff
path: root/script/workspace
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-18 06:10:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-18 06:10:55 +0800
commitbddeb50920da81a6cecd91100aed018769bcc5b7 (patch)
tree9e0c1d979431c5e17da606ec35a9d22fb17dd8f9 /script/workspace
parentefffa22c25f713f8e37bb22e891319076f5b759d (diff)
downloadlua-language-server-bddeb50920da81a6cecd91100aed018769bcc5b7.zip
normalize uri from RPC
fix #1810
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/workspace.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index f08468c8..aabe0c78 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -45,9 +45,6 @@ end
--- 初始化工作区
function m.create(uri)
- if furi.isValid(uri) then
- uri = furi.normalize(uri)
- end
log.info('Workspace create: ', uri)
local scp = scope.createFolder(uri)
m.folders[#m.folders+1] = scp