Fix bun run folder (#15117)

Co-authored-by: pfgithub <pfgithub@users.noreply.github.com>
This commit is contained in:
pfg
2025-01-17 22:08:07 -08:00
committed by GitHub
parent 288f256ce4
commit 0d17843251
24 changed files with 795 additions and 574 deletions

View File

@@ -39,7 +39,7 @@ pub const ExecCommand = struct {
};
const script_path = bun.path.join(parts, .auto);
const code = bun.shell.Interpreter.initAndRunFromSource(ctx, mini, script_path, script) catch |err| {
const code = bun.shell.Interpreter.initAndRunFromSource(ctx, mini, script_path, script, null) catch |err| {
Output.err(err, "failed to run script <b>{s}<r>", .{script_path});
Global.exit(1);
};