From 5319b85f14d919c8a3f390a8db53c95922f1cf8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 5 Sep 2024 12:51:37 +0100 Subject: feat(uninstall): alias to 'deno remove' if -g flag missing (#25461) Close https://github.com/denoland/deno/issues/25457 --- cli/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/main.rs') diff --git a/cli/main.rs b/cli/main.rs index c0899ee10..3b366306a 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -161,7 +161,7 @@ async fn run_subcommand(flags: Arc) -> Result { tools::jupyter::kernel(flags, jupyter_flags).await }), DenoSubcommand::Uninstall(uninstall_flags) => spawn_subcommand(async { - tools::installer::uninstall(uninstall_flags) + tools::installer::uninstall(flags, uninstall_flags).await }), DenoSubcommand::Lsp => spawn_subcommand(async { lsp::start().await }), DenoSubcommand::Lint(lint_flags) => spawn_subcommand(async { -- cgit v1.2.3