mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-13 14:22:35 +00:00
use warn
This commit is contained in:
parent
b584f6eb9c
commit
db11ff27f4
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ impl MDBook {
|
|||
pub fn new(root: &Path) -> MDBook {
|
||||
|
||||
if !root.exists() || !root.is_dir() {
|
||||
info!("{:?} No directory with that name", root);
|
||||
warn!("{:?} No directory with that name", root);
|
||||
}
|
||||
|
||||
MDBook {
|
||||
|
|
|
@ -20,7 +20,7 @@ pub fn render_playpen(s: &str, path: &Path) -> String {
|
|||
|
||||
// Check if the file exists
|
||||
if !playpen.rust_file.exists() || !playpen.rust_file.is_file() {
|
||||
info!("[-] No file exists for {{{{#playpen }}}}\n {}", playpen.rust_file.to_str().unwrap());
|
||||
warn!("[-] No file exists for {{{{#playpen }}}}\n {}", playpen.rust_file.to_str().unwrap());
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue