diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-05-09 12:31:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-09 06:31:15 -0400 |
commit | abbf0339cd0013ba7d691adf76460631c6a03e9f (patch) | |
tree | 99033b2ae26c1c2d48a9636be25ece6a4108734b /cli/lib.rs | |
parent | 7d3728e3f4b8c9764518bcbe7e4a49cd18fb1f90 (diff) |
feat(upgrade): allow specifying a version (#5156)
Diffstat (limited to 'cli/lib.rs')
-rw-r--r-- | cli/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
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!(), }; |