maybe this fixes back?

This commit is contained in:
RiskyMH
2025-02-03 08:39:53 +00:00
parent ac7d09061a
commit 814f273d88

View File

@@ -4782,7 +4782,13 @@ pub const Interpreter = struct {
};
const first_arg_len = std.mem.len(first_arg);
const first_arg_real = first_arg[0..first_arg_len];
var first_arg_real = first_arg[0..first_arg_len];
if (bun.Environment.isDebug) {
if (bun.strings.eqlComptime(first_arg_real, "bun")) {
first_arg_real = "bun-debug";
}
}
if (Builtin.Kind.fromStr(first_arg[0..first_arg_len])) |b| {
const cwd = this.base.shell.cwd_fd;