summaryrefslogtreecommitdiff
path: root/lua/core/terminal.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-09-13 11:28:15 +0200
committerGitHub <[email protected]>2021-09-13 11:28:15 +0200
commit8eed75d67f9cbcefb91c4cb5aac0ffd013be25cc (patch)
treecba9d98b4b3c6559dc2bd17f1fb557cb88f5387f /lua/core/terminal.lua
parent38b0c3d860d10515002fdb27db7e1187ce110b1d (diff)
refactor: use more flexible paths (#1381)
Diffstat (limited to 'lua/core/terminal.lua')
-rw-r--r--lua/core/terminal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/core/terminal.lua b/lua/core/terminal.lua
index f9be8734..87053412 100644
--- a/lua/core/terminal.lua
+++ b/lua/core/terminal.lua
@@ -95,7 +95,7 @@ local function get_log_path(name)
local logger = require "core.log"
local file
if name == "nvim" then
- file = CACHE_PATH .. "/log"
+ file = utils.join_paths(get_cache_dir(), "log")
else
file = logger:new({ plugin = name }):get_path()
end