Skip to content

Commit e5b282f

Browse files
committed
fix
Signed-off-by: Rishi Jat <rishijat098@gmail.com>
1 parent 01bd959 commit e5b282f

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

pkg/lib/kitfile/generate/filesystem.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ var OsSpecificFiles = []string{
4141
// This helper is exported so other packages (for example packing logic)
4242
// can reuse the same OS-file filtering logic.
4343
func ShouldIgnoreFile(name string) bool {
44-
// Ignore generic hidden files (e.g., .DS_Store, .Spotlight-V100, etc.)
45-
// except for the current and parent directory entries.
46-
if strings.HasPrefix(name, ".") && name != "." && name != ".." {
47-
return true
48-
}
49-
5044
// Ignore known OS-specific metadata files
5145
for _, osFile := range OsSpecificFiles {
5246
if strings.EqualFold(name, osFile) {

0 commit comments

Comments
 (0)