Fixing issue where a tab tries to read lines from a .hidden directory
This commit is contained in:
parent
b18524e52b
commit
c000eda54b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
hidden_files = parse_hidden_file(&path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue