Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: fix command line silent abort
Vincenzo Palazzo committed 3 years ago
commit 0e491fae79fe163a763c5c8efae47a94b1e423f3
parent e408b0d62cfed949b9fb1506a3d2056bd6d56735
1 file changed +1 -1
modified radicle-cli/src/commands/issue.rs
@@ -251,7 +251,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
                description.unwrap_or("Enter a description...".to_owned())
            );

-
            if let Ok(Some(text)) = term::Editor::new().edit(&doc) {
+
            if let Some(text) = term::Editor::new().edit(&doc)? {
                let mut meta = String::new();
                let mut frontmatter = false;
                let mut lines = text.lines();