fix: use string.format on builtin.resume error message (#1465)
This commit is contained in:
@@ -98,7 +98,7 @@ internal.resume = function(opts)
|
|||||||
end
|
end
|
||||||
local picker = cached_pickers[opts.cache_index]
|
local picker = cached_pickers[opts.cache_index]
|
||||||
if picker == nil then
|
if picker == nil then
|
||||||
print("Index too large as there are only %s pickers cached", #cached_pickers)
|
print(string.format("Index too large as there are only %s pickers cached", #cached_pickers))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
-- reset layout strategy and get_window_options if default as only one is valid
|
-- reset layout strategy and get_window_options if default as only one is valid
|
||||||
|
|||||||
Reference in New Issue
Block a user