From c225c12e82fbc804a3b7df32af97d538436f1389 Mon Sep 17 00:00:00 2001 From: Michael H Date: Thu, 6 Feb 2025 00:12:23 +1100 Subject: [PATCH] oops --- src/shell/interpreter.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell/interpreter.zig b/src/shell/interpreter.zig index 1b3943e78a..7658253d10 100644 --- a/src/shell/interpreter.zig +++ b/src/shell/interpreter.zig @@ -4832,13 +4832,13 @@ pub const Interpreter = struct { } break :blk which(path_buf, spawn_args.PATH, spawn_args.cwd, first_arg_real) orelse { - this.writeFailingError("bun: command not found: {s}\n", .{first_arg}); - if (bun.strings.eqlComptime(first_arg_real, "bunx")) blk2: { if (bun.is_standalone == true) spawn_args.env_array.append(arena_allocator, "BUN_SKIP_STANDALONE_MODULE_GRAPH=1") catch break :blk2; this.args.insert(1, "x") catch break :blk2; break :blk bun.selfExePath() catch break :blk2; } + + this.writeFailingError("bun: command not found: {s}\n", .{first_arg}); return; }; };