summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/workspace/workspace.lua2
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