Skip to content

Commit 822c2ad

Browse files
authored
Filter out .DS_Store files (#365)
1 parent 0ecef70 commit 822c2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/build-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function* findFiles(root: string): Iterable<string> {
7575
if (visited.has(status.ino)) throw new Error(`Circular directory: ${path}`);
7676
visited.add(status.ino);
7777
for (const entry of readdirSync(path)) {
78-
if (entry === ".DS_store") continue; // macOS
78+
if (entry === ".DS_Store") continue; // macOS
7979
queue.push(join(path, entry));
8080
}
8181
} else {

0 commit comments

Comments
 (0)