Skip to content

Commit 2d456cc

Browse files
add errmsg in return
Co-authored-by: Alexander Courtis <alex@courtis.org>
1 parent d65dabb commit 2d456cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/nvim-tree/marks/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ local function save_bookmarks(marks, opts)
2525
end
2626

2727
local storepath = get_save_path(opts)
28-
local file = io.open(storepath, "w")
28+
local file, errmsg = io.open(storepath, "w")
2929
if file then
3030
local data = {}
3131
for path, _ in pairs(marks) do

0 commit comments

Comments
 (0)