summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-05 12:51:37 +0100
committerGitHub <noreply@github.com>2024-09-05 13:51:37 +0200
commit5319b85f14d919c8a3f390a8db53c95922f1cf8d (patch)
tree5bc4c51e7034cc4bfcac2da9c2c8899dcdaa15f1 /cli/main.rs
parent7d95c5c062c7d836bab912e95587bf7fa52326c4 (diff)
feat(uninstall): alias to 'deno remove' if -g flag missing (#25461)
Close https://github.com/denoland/deno/issues/25457
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
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<Flags>) -> Result<i32, AnyError> {
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 {