Dont try to list hidden files in datasets

This commit is contained in:
Jaret Burkett committed 2026-03-30 10:03:10 -06:00
1 parent 171535833a
commit ac82ebd852
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ function findImagesRecursively(dir: string): string[] {
} else {
// If it's a file, check if it's an image
const ext = path.extname(itemPath).toLowerCase();
if (imageExtensions.includes(ext)) {
if (imageExtensions.includes(ext) && !item.startsWith('.')) {
results.push(itemPath);
}
}