mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2026-02-04 23:02:06 +00:00
return empty table from get_scores. Fixes assertion error.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user