diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/ngit/sub_commands/init.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs index 9f5093e..d0b4b6d 100644 --- a/src/bin/ngit/sub_commands/init.rs +++ b/src/bin/ngit/sub_commands/init.rs | |||
| @@ -155,6 +155,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { | |||
| 155 | None => Interactor::default().input( | 155 | None => Interactor::default().input( |
| 156 | PromptInputParms::default() | 156 | PromptInputParms::default() |
| 157 | .with_prompt("repo description (one sentance)") | 157 | .with_prompt("repo description (one sentance)") |
| 158 | .optional() | ||
| 158 | .with_default(if let Some(repo_ref) = &repo_ref { | 159 | .with_default(if let Some(repo_ref) = &repo_ref { |
| 159 | repo_ref.description.clone() | 160 | repo_ref.description.clone() |
| 160 | } else { | 161 | } else { |