From cbaebd92dce84e9ba63cb07d3199e5a19b204c1a Mon Sep 17 00:00:00 2001 From: doongjohn <40219740+doongjohn@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:44:47 +0900 Subject: [PATCH] Fix deleting session (#140) --- lua/session_manager/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/session_manager/init.lua b/lua/session_manager/init.lua index 6070afe..df52fc6 100644 --- a/lua/session_manager/init.lua +++ b/lua/session_manager/init.lua @@ -138,7 +138,7 @@ function session_manager.delete_current_dir_session() if cwd then local session = config.dir_to_session_filename(cwd) if session:exists() then - utils.delete_session(session) + utils.delete_session(session.filename) end end end