chore: resolve undefined-field

This commit is contained in:
Alexander Courtis
2024-10-26 15:35:18 +11:00
parent 44281f7999
commit 009b2c996e
5 changed files with 7 additions and 7 deletions

View File

@@ -24,10 +24,10 @@ function FileNode:create(explorer, parent, absolute_path, name, fs_stat)
fs_stat = fs_stat,
git_status = nil,
hidden = false,
is_dot = false,
name = name,
parent = parent,
diag_status = nil,
is_dot = false,
extension = string.match(name, ".?[^.]+%.(.*)") or "",
}