mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 06:12:08 +00:00
maybe this fixes back?
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user