Skip to content

Commit db11ff2

Browse files
author
Gambhiro
committed
use warn
1 parent b584f6e commit db11ff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/book/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl MDBook {
4242
pub fn new(root: &Path) -> MDBook {
4343

4444
if !root.exists() || !root.is_dir() {
45-
info!("{:?} No directory with that name", root);
45+
warn!("{:?} No directory with that name", root);
4646
}
4747

4848
MDBook {

src/renderer/html_handlebars/helpers/playpen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn render_playpen(s: &str, path: &Path) -> String {
2020

2121
// Check if the file exists
2222
if !playpen.rust_file.exists() || !playpen.rust_file.is_file() {
23-
info!("[-] No file exists for {{{{#playpen }}}}\n {}", playpen.rust_file.to_str().unwrap());
23+
warn!("[-] No file exists for {{{{#playpen }}}}\n {}", playpen.rust_file.to_str().unwrap());
2424
continue;
2525
}
2626

0 commit comments

Comments
 (0)