Skip to content

Commit

Permalink
Fix deleting session (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
doongjohn authored Aug 2, 2024
1 parent 35c154a commit cbaebd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/session_manager/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbaebd9

Please sign in to comment.