Make Command.Context a pointer (#10237)

This commit is contained in:
Jarred Sumner
2024-04-13 01:53:31 -07:00
committed by GitHub
parent 8d49a3ee37
commit c59f49385f
11 changed files with 87 additions and 88 deletions

View File

@@ -13,7 +13,7 @@ const open = @import("../open.zig");
const Command = bun.CLI.Command;
pub const ExecCommand = struct {
pub fn exec(ctx: *Command.Context) !void {
pub fn exec(ctx: Command.Context) !void {
const script = ctx.positionals[1];
// this is a hack: make dummy bundler so we can use its `.runEnvLoader()` function to populate environment variables probably should split out the functionality
var bundle = try bun.Bundler.init(