From 07af79cbbdc50b8a44bdd79f66c4bdba116e1632 Mon Sep 17 00:00:00 2001 From: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com> Date: Mon, 14 Jul 2025 13:13:48 +0000 Subject: [PATCH] `bun run zig-format` --- src/cli/filter_run.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/filter_run.zig b/src/cli/filter_run.zig index e131615e5a..fe0a069be8 100644 --- a/src/cli/filter_run.zig +++ b/src/cli/filter_run.zig @@ -487,11 +487,11 @@ pub fn runScriptsWithFilter(ctx: Command.Context) !noreturn { var path_buf: bun.PathBuffer = undefined; const parts = [_][]const u8{workspace}; const abs_workspace_path = bun.path.joinAbsStringBuf(fsinstance.top_level_dir, &path_buf, &parts, .loose); - + // Normalize both paths for comparison const normalized_workspace = bun.strings.withoutTrailingSlash(abs_workspace_path); const normalized_path = bun.strings.withoutTrailingSlash(path); - + if (bun.strings.eql(normalized_workspace, normalized_path)) { break :blk true; }