From 860bd53fb3c652c65ea6c67df32d8f93e13982d6 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 12 Oct 2022 17:10:03 -0700 Subject: [PATCH] [`bun wiptest`] Ignore `.` folders --- src/cli/test_command.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig index d85c74d3f8..77b2493d5e 100644 --- a/src/cli/test_command.zig +++ b/src/cli/test_command.zig @@ -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; }