Files
bun.sh/src/cli/patch_commit_command.zig
taylor.fish 07cd45deae Refactor Zig imports and file structure (part 1) (#21270)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-22 17:51:38 -07:00

12 lines
383 B
Zig

pub const PatchCommitCommand = struct {
pub fn exec(ctx: Command.Context) !void {
try updatePackageJSONAndInstallCatchError(ctx, .@"patch-commit");
}
};
const bun = @import("bun");
const Command = bun.cli.Command;
const PackageManager = bun.install.PackageManager;
const updatePackageJSONAndInstallCatchError = PackageManager.updatePackageJSONAndInstallCatchError;