mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 19:38:58 +00:00
Fix bun run folder (#15117)
Co-authored-by: pfgithub <pfgithub@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user