diff --git a/lua/fzfx/commons/tables.lua b/lua/fzfx/commons/tables.lua index 833f7a67f..f46bd2b7f 100644 --- a/lua/fzfx/commons/tables.lua +++ b/lua/fzfx/commons/tables.lua @@ -18,7 +18,7 @@ end M.tbl_get = function(t, ...) local e = t --[[@as table]] for _, k in ipairs({ ... }) do - if M.tbl_not_empty(e) and e[k] ~= nil then + if type(e) == "table" and e[k] ~= nil then e = e[k] else return nil diff --git a/lua/fzfx/commons/version.txt b/lua/fzfx/commons/version.txt index f7ee06693..37ad5c8b1 100644 --- a/lua/fzfx/commons/version.txt +++ b/lua/fzfx/commons/version.txt @@ -1 +1 @@ -9.0.0 +9.0.1