ok/jj
1
0
Fork 0
forked from mirrors/jj

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.
This commit is contained in:
Luke Granger-Brown 2022-12-05 00:30:32 +00:00 committed by Luke Granger-Brown
parent c52a14eac6
commit e95b8edca1
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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(())
}