mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
12 lines
369 B
Zig
12 lines
369 B
Zig
pub const RemoveCommand = struct {
|
|
pub fn exec(ctx: Command.Context) !void {
|
|
try updatePackageJSONAndInstallCatchError(ctx, .remove);
|
|
}
|
|
};
|
|
|
|
const bun = @import("bun");
|
|
const Command = bun.cli.Command;
|
|
|
|
const PackageManager = bun.install.PackageManager;
|
|
const updatePackageJSONAndInstallCatchError = PackageManager.updatePackageJSONAndInstallCatchError;
|