fix(git): fix inverted condition logic introduced in #1433 (#1443)

This commit is contained in:
yehy4
2022-07-19 11:48:32 +02:00
committed by GitHub
parent 8dc2144e87
commit c964fa24d0

View File

@@ -76,7 +76,7 @@ function M.get_project_root(cwd)
end end
local function reload_tree_at(project_root) local function reload_tree_at(project_root)
if M.config.git.enable then if not M.config.git.enable then
return nil return nil
end end