From e95b8edca13720b58a64c1915dfaac0addd21bcb Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 5 Dec 2022 00:30:32 +0000 Subject: [PATCH] Give the "unset user" warning a trailing newline. At the moment, the unset user warning is lacking a trailing newline, so we end up printing anything else that's output directly on the same line. --- CHANGELOG.md | 1 + src/cli_util.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1566c1df8..3bf1f9192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -123,6 +123,7 @@ Thanks to the people who made this release happen! * Waleed Khan (@arxanas) * Sean E. Russell (@xxxserxxx) * Pranay Sashank (@pranaysashank) + * Luke Granger-Brown (@lukegb) ## [0.5.1] - 2022-10-17 diff --git a/src/cli_util.rs b/src/cli_util.rs index 29ed24ad5..40f427b5d 100644 --- a/src/cli_util.rs +++ b/src/cli_util.rs @@ -903,7 +903,8 @@ impl WorkspaceCommandHelper { { ui.write_warn(r#"Name and email not configured. Add something like the following to $HOME/.jjconfig.toml: user.name = "Some One" - user.email = "someone@example.com""#)?; + user.email = "someone@example.com" +"#)?; } Ok(()) }