diff options
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/main.rs b/cli/main.rs index 33ccc198c..c963cb21c 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -283,9 +283,7 @@ async fn run_subcommand(flags: Arc<Flags>) -> Result<i32, AnyError> { "This deno was built without the \"upgrade\" feature. Please upgrade using the installation method originally used to install Deno.", 1, ), - DenoSubcommand::Vendor(vendor_flags) => spawn_subcommand(async { - tools::vendor::vendor(flags, vendor_flags).await - }), + DenoSubcommand::Vendor => exit_with_message("⚠️ `deno vendor` was removed in Deno 2.\n\nSee the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations", 1), DenoSubcommand::Publish(publish_flags) => spawn_subcommand(async { tools::registry::publish(flags, publish_flags).await }), |