fix(file_selector): make sure to flatten selected_paths if picker yields a single string (#1153)

This commit is contained in:
Aaron Pham
2025-02-01 09:46:01 -05:00
committed by GitHub
parent 5d1bc6e8b4
commit 692c168e5b
2 changed files with 9 additions and 3 deletions

View File

@@ -252,6 +252,8 @@ M._defaults = {
provider = "native",
-- Options override for custom providers
provider_opts = {},
--- @type fun(selected_paths: string[] | string | nil): nil
handler = nil,
},
suggestion = {
debounce = 600,