IO-1931 Remove thumbs.db from listing.

This commit is contained in:
Patrick Fic
2022-06-13 10:38:38 -07:00
parent 4ae4092490
commit a1553645c2
4 changed files with 17 additions and 3 deletions

8
util/listableChecker.ts Normal file
View File

@@ -0,0 +1,8 @@
import fs from "fs-extra";
function ListableChecker(file: fs.Dirent) {
if (file.name === "Thumbs.db") return false;
return true;
}
export default ListableChecker;