Fixing issue where a tab tries to read lines from a .hidden directory

This commit is contained in:
ellieplayswow 2025-02-05 20:53:36 +00:00
parent b18524e52b
commit c000eda54b

View file

@ -545,7 +545,7 @@ pub fn scan_path(tab_path: &PathBuf, sizes: IconSizes) -> Vec<Item> {
}
};
if name == ".hidden" {
if name == ".hidden" && path.is_file() {
hidden_files = parse_hidden_file(&path);
}