fix(utils): filter_symbols return table consistently (#3421)

Previously, filter_symbols returned nil in certain cases, which could
lead to unexpected behavior. This change ensures that an empty table is
always returned, maintaining consistency.
This commit is contained in:
James Trew
2025-02-22 19:47:58 -05:00
committed by GitHub
parent 78857db9e8
commit 589910694b

View File

@@ -180,6 +180,7 @@ utils.filter_symbols = function(results, opts, post_filter)
level = "WARN", level = "WARN",
}) })
end end
return {}
end end
local path_filename_first = function(path, reverse_directories) local path_filename_first = function(path, reverse_directories)