Dont try to list hidden files in datasets

This commit is contained in:
Jaret Burkett 2026-03-30 10:03:10 -06:00
parent 171535833a
commit ac82ebd852
1 changed files with 1 additions and 1 deletions

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);
}
}