summaryrefslogtreecommitdiff
path: root/lua/core/terminal.lua
diff options
context:
space:
mode:
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