From abbf0339cd0013ba7d691adf76460631c6a03e9f Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Sat, 9 May 2020 12:31:15 +0200 Subject: feat(upgrade): allow specifying a version (#5156) --- cli/lib.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cli/lib.rs') diff --git a/cli/lib.rs b/cli/lib.rs index 060c86b55..957637719 100644 --- a/cli/lib.rs +++ b/cli/lib.rs @@ -616,9 +616,11 @@ pub fn main() { } return; } - DenoSubcommand::Upgrade { force, dry_run } => { - upgrade_command(dry_run, force).boxed_local() - } + DenoSubcommand::Upgrade { + force, + dry_run, + version, + } => upgrade_command(dry_run, force, version).boxed_local(), _ => unreachable!(), }; -- cgit v1.2.3