mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
[bun wiptest] Ignore . folders
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user