diff options
Diffstat (limited to 'src/sub_commands')
| -rw-r--r-- | src/sub_commands/login.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sub_commands/login.rs b/src/sub_commands/login.rs index b93e9bc..43ce480 100644 --- a/src/sub_commands/login.rs +++ b/src/sub_commands/login.rs | |||
| @@ -24,7 +24,6 @@ pub async fn launch(args: &Cli, command_args: &SubCommandArgs) -> Result<()> { | |||
| 24 | #[cfg(test)] | 24 | #[cfg(test)] |
| 25 | let client = <MockConnect as std::default::Default>::default(); | 25 | let client = <MockConnect as std::default::Default>::default(); |
| 26 | 26 | ||
| 27 | client.connect().await?; | ||
| 28 | login::launch(&args.nsec, &args.password, Some(&client)).await?; | 27 | login::launch(&args.nsec, &args.password, Some(&client)).await?; |
| 29 | client.disconnect().await?; | 28 | client.disconnect().await?; |
| 30 | Ok(()) | 29 | Ok(()) |