summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-03 17:00:57 +1000
committerGitHub <noreply@github.com>2024-09-03 17:00:57 +1000
commit5f08d634f73fab21c17cc02f3f3bf8e8b531eee8 (patch)
treee105697d4ecb23cad491a04af878bc44edfa66a1 /cli/main.rs
parent2533d68cabb5a38be891a9807c452ca802401d46 (diff)
BREAKING: remove `deno vendor` (#25343)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs4
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
}),