Fix panicking handling file without extension

This commit is contained in:
Unreal Hoang 2018-06-03 03:25:28 +09:00 committed by Vincent Prouillet
parent 0e0cd244f3
commit ffcc455ed5

View file

@ -283,7 +283,7 @@ fn is_temp_file(path: &Path) -> bool {
}
},
None => {
path.ends_with(".DS_STORE")
true
},
}
}