Chg: Add extra whitespace around multi-line warnings
This makes errors a bit easier to distinguish after a number of warnings has been printed.
This commit is contained in:
parent
3b46d6b7d1
commit
749f3e425c
@ -387,7 +387,7 @@ fn embed_file<'a, 'b>(note_name: &'a str, context: &'b Context) -> Result<Markdo
|
|||||||
None => {
|
None => {
|
||||||
// TODO: Extract into configurable function.
|
// TODO: Extract into configurable function.
|
||||||
println!(
|
println!(
|
||||||
"Warning: Unable to find embedded note\n\tReference: '{}'\n\tSource: '{}'",
|
"Warning: Unable to find embedded note\n\tReference: '{}'\n\tSource: '{}'\n",
|
||||||
note_name,
|
note_name,
|
||||||
context.current_file().display(),
|
context.current_file().display(),
|
||||||
);
|
);
|
||||||
@ -414,7 +414,7 @@ fn make_link_to_file<'a>(file: &'a str, label: &'a str, context: &Context) -> Ma
|
|||||||
if target_file.is_none() {
|
if target_file.is_none() {
|
||||||
// TODO: Extract into configurable function.
|
// TODO: Extract into configurable function.
|
||||||
println!(
|
println!(
|
||||||
"Warning: Unable to find referenced note\n\tReference: '{}'\n\tSource: '{}'",
|
"Warning: Unable to find referenced note\n\tReference: '{}'\n\tSource: '{}'\n",
|
||||||
file,
|
file,
|
||||||
context.current_file().display(),
|
context.current_file().display(),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user