diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-09-01 19:20:23 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-01 14:20:23 -0400 |
commit | 0ce15f08c76f075948a132dd0f9f27855bd00a1d (patch) | |
tree | 058f439f2be1ff75cdad505861d3a66ac713d462 /cli/flags.rs | |
parent | df2f54b2a66fa71012c5d263009652c98085b5ed (diff) |
Remove DenoSubcommand::Install (#2846)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r-- | cli/flags.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cli/flags.rs b/cli/flags.rs index 1cf2c63be..c9c7a59c7 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -693,7 +693,6 @@ pub enum DenoSubcommand { Eval, Fetch, Info, - Install, Repl, Run, Types, @@ -830,7 +829,7 @@ pub fn flags_from_vec( .collect(); argv.extend(flags); } - DenoSubcommand::Install + DenoSubcommand::Run } _ => unreachable!(), } @@ -1553,7 +1552,7 @@ mod tests { ..DenoFlags::default() } ); - assert_eq!(subcommand, DenoSubcommand::Install); + assert_eq!(subcommand, DenoSubcommand::Run); assert_eq!( argv, svec![ @@ -1583,7 +1582,7 @@ mod tests { ..DenoFlags::default() } ); - assert_eq!(subcommand, DenoSubcommand::Install); + assert_eq!(subcommand, DenoSubcommand::Run); assert_eq!( argv, svec![ @@ -1617,7 +1616,7 @@ mod tests { ..DenoFlags::default() } ); - assert_eq!(subcommand, DenoSubcommand::Install); + assert_eq!(subcommand, DenoSubcommand::Run); assert_eq!( argv, svec![ |