diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/login.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/login.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/login.rs b/src/bin/ngit/sub_commands/login.rs index 53da154..16026dd 100644 --- a/src/bin/ngit/sub_commands/login.rs +++ b/src/bin/ngit/sub_commands/login.rs | |||
| @@ -33,7 +33,7 @@ pub async fn launch(args: &Cli, command_args: &SubCommandArgs) -> Result<()> { | |||
| 33 | Some(Client::default()) | 33 | Some(Client::default()) |
| 34 | }; | 34 | }; |
| 35 | 35 | ||
| 36 | let git_repo_result = Repo::discover().context("cannot find a git repository"); | 36 | let git_repo_result = Repo::discover().context("failed to find a git repository"); |
| 37 | let git_repo = { | 37 | let git_repo = { |
| 38 | match git_repo_result { | 38 | match git_repo_result { |
| 39 | Ok(git_repo) => Some(git_repo), | 39 | Ok(git_repo) => Some(git_repo), |