mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 03:08:13 +00:00
fix(picker.util): item.resolve for nil item
This commit is contained in:
parent
11cd710317
commit
2ff21b4394
2 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ end
|
||||||
|
|
||||||
---@param item snacks.picker.Item
|
---@param item snacks.picker.Item
|
||||||
function M.resolve(item)
|
function M.resolve(item)
|
||||||
if item.resolve then
|
if item and item.resolve then
|
||||||
item.resolve(item)
|
item.resolve(item)
|
||||||
item.resolve = nil
|
item.resolve = nil
|
||||||
end
|
end
|
||||||
|
|
BIN
test.sqlite3-wal
Normal file
BIN
test.sqlite3-wal
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue