mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 05:16:28 +03:00
Improve punctuation of message, printed by "repl" program
This patch changes output of following command (from README.md) $ cargo run --example repl -- /tmp/main.db from First time init: creating tables in ""/tmp/main.db"" [...] Opened ""/tmp/main.db"". to First time init: creating tables in "/tmp/main.db" [...] Opened "/tmp/main.db". Note lack of double quotation mark, which was confusing and could have been interpreted as part of file name.
This commit is contained in:
committed by
holger krekel
parent
72ad8b5199
commit
004cdf6491
@@ -340,7 +340,7 @@ fn open(
|
|||||||
info!(
|
info!(
|
||||||
context,
|
context,
|
||||||
0,
|
0,
|
||||||
"First time init: creating tables in \"{:?}\".",
|
"First time init: creating tables in {:?}.",
|
||||||
dbfile.as_ref(),
|
dbfile.as_ref(),
|
||||||
);
|
);
|
||||||
sql.execute(
|
sql.execute(
|
||||||
@@ -816,7 +816,7 @@ fn open(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
info!(context, 0, "Opened \"{:?}\".", dbfile.as_ref(),);
|
info!(context, 0, "Opened {:?}.", dbfile.as_ref(),);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user