mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
return empty table from get_scores. Fixes assertion error.
This commit is contained in:
parent
c2d21f474a
commit
2c2b8b16c2
@ -58,7 +58,7 @@ local function filter_timestamps(timestamps, file_id)
|
||||
end
|
||||
|
||||
local function get_file_scores()
|
||||
if not sql_wrapper then return end
|
||||
if not sql_wrapper then return {} end
|
||||
|
||||
local scores = {}
|
||||
local files = sql_wrapper:do_transaction('get_all_filepaths')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user