lint: use more specific type for internal entries
This commit is contained in:
parent
f55ebb0079
commit
71948729cd
4 changed files with 7 additions and 7 deletions
|
|
@ -200,7 +200,7 @@ local function is_entry_directory(entry)
|
|||
return true
|
||||
elseif type == "link" then
|
||||
local meta = entry[FIELD_META]
|
||||
return meta and meta.link_stat and meta.link_stat.type == "directory"
|
||||
return (meta and meta.link_stat and meta.link_stat.type == "directory") == true
|
||||
else
|
||||
return false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue