chore: resolve undefined-field

This commit is contained in:
Alexander Courtis
2024-10-28 16:36:10 +11:00
parent c8b6848672
commit caed01019c
2 changed files with 12 additions and 12 deletions

View File

@@ -339,7 +339,7 @@ end
---@param nodes_by_path Node[]
---@param node_ignored boolean
---@param project GitProject?
---@return fun(node: Node): table
---@return fun(node: Node): Node
function Explorer:update_git_statuses(nodes_by_path, node_ignored, project)
return function(node)
if nodes_by_path[node.absolute_path] then