diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2020-12-30 17:25:01 -0800 |
---|---|---|
committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2020-12-30 17:28:18 -0800 |
commit | 4e9d93efdccf5686ae73b109febd3235141598b1 (patch) | |
tree | 94d1fbd6c2da13a81c2048a2dcc755d9dc0e600c | |
parent | 89c11e8719fa36f6e08904b488ffa792bcb04477 (diff) | |
download | lua-language-server-4e9d93efdccf5686ae73b109febd3235141598b1.zip |
Fix workspace logpath to not use ROOT
-rw-r--r-- | script/workspace/workspace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 3e6b9d38..de96b569 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -29,7 +29,7 @@ function m.init(uri) end m.uri = uri m.path = m.normalize(furi.decode(uri)) - local logPath = ROOT / 'log' / (uri:gsub('[/:]+', '_') .. '.log') + local logPath = fs.path(LOGPATH) / (uri:gsub('[/:]+', '_') .. '.log') log.info('Log path: ', logPath) log.init(ROOT, logPath) end |