fix(health): check unmatching python_glob as empty table (#28215)

This commit is contained in:
Barrett Ruth
2024-04-06 22:50:45 -05:00
committed by GitHub
parent 98d687a4e1
commit f6dcc464f2

View File

@@ -187,7 +187,7 @@ local function check_rplugin_manifest()
local require_update = false
local handle_path = function(path)
local python_glob = vim.fn.glob(path .. '/rplugin/python*', true, true)
if python_glob == '' then
if vim.tbl_isempty(python_glob) then
return
end