Skip to content

Commit 05b18fe

Browse files
chore: specify lib directory using relative path
1 parent e2e1f6e commit 05b18fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/tclient/tests/relative-library.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ local util = require 'utility'
44
local furi = require 'file-uri'
55
local ws = require 'workspace'
66
local files = require 'files'
7-
local scope = require 'workspace.scope'
87

98
local rootPath = LOGPATH .. '/relative-library'
109
local rootUri = furi.encode(rootPath)
@@ -18,10 +17,10 @@ end
1817
lclient():start(function (client)
1918
client:registerFakers()
2019

21-
client:register('workspace/configuration', function (params)
20+
client:register('workspace/configuration', function ()
2221
return {
2322
['workspace.library'] = {
24-
rootPath .. '/lib',
23+
'./lib',
2524
}
2625
}
2726
end)

0 commit comments

Comments
 (0)