fix(#2947): root is never a dotfile, so that it doesn't propagate to children (#2958)

This commit is contained in:
Alexander Courtis
2024-10-14 18:56:43 +11:00
committed by GitHub
parent ce09bfb95f
commit f5f6789299
2 changed files with 10 additions and 3 deletions

View File

@@ -17,4 +17,10 @@ function RootNode:create(explorer, absolute_path, name, fs_stat)
return o
end
---Root is never a dotfile
---@return boolean
function RootNode:is_dotfile()
return false
end
return RootNode