diff --git a/src/cli/patch_command.zig b/src/cli/patch_command.zig index 1eb55554c0..9e56506345 100644 --- a/src/cli/patch_command.zig +++ b/src/cli/patch_command.zig @@ -4,11 +4,6 @@ const PackageManager = @import("../install/install.zig").PackageManager; pub const PatchCommand = struct { pub fn exec(ctx: Command.Context) !void { - if (!bun.FeatureFlags.is_patch_cmd_enabled) { - bun.Output.prettyErrorln("bun patch is not available in this version of bun. Stay tuned.", .{}); - bun.Global.exit(1); - } - try PackageManager.patch(ctx); } }; diff --git a/src/cli/patch_commit_command.zig b/src/cli/patch_commit_command.zig index c54e69d019..af44f76241 100644 --- a/src/cli/patch_commit_command.zig +++ b/src/cli/patch_commit_command.zig @@ -4,11 +4,6 @@ const bun = @import("root").bun; pub const PatchCommitCommand = struct { pub fn exec(ctx: Command.Context) !void { - if (!bun.FeatureFlags.is_patch_cmd_enabled) { - bun.Output.prettyErrorln("bun patch is not available in this version of bun. Stay tuned.", .{}); - bun.Global.exit(1); - } - try PackageManager.patchCommit(ctx); } }; diff --git a/src/feature_flags.zig b/src/feature_flags.zig index 74447ced76..93bb8f0309 100644 --- a/src/feature_flags.zig +++ b/src/feature_flags.zig @@ -179,5 +179,3 @@ pub const breaking_changes_1_2 = false; // order than via Bun.file.writer() so we turn it off until there's a unified, // buffered writer abstraction shared throughout Bun pub const nonblocking_stdout_and_stderr_on_posix = false; - -pub const is_patch_cmd_enabled = env.is_canary or env.isDebug;