[bun wiptest] Ignore . folders

This commit is contained in:
Jarred Sumner
2022-10-12 17:10:03 -07:00
parent 477638435c
commit 860bd53fb3

View File

@@ -259,7 +259,7 @@ const Scanner = struct {
this.has_iterated = true;
switch (entry.kind(&this.fs.fs)) {
.dir => {
if (strings.eqlComptime(name, "node_modules") or strings.eqlComptime(name, ".git")) {
if ((name.len > 0 and name[0] == '.') or strings.eqlComptime(name, "node_modules")) {
return;
}