This commit is contained in:
Gambhiro 2016-08-14 14:40:08 +01:00
parent b584f6eb9c
commit db11ff27f4
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ impl MDBook {
pub fn new(root: &Path) -> MDBook { pub fn new(root: &Path) -> MDBook {
if !root.exists() || !root.is_dir() { if !root.exists() || !root.is_dir() {
info!("{:?} No directory with that name", root); warn!("{:?} No directory with that name", root);
} }
MDBook { MDBook {

View File

@ -20,7 +20,7 @@ pub fn render_playpen(s: &str, path: &Path) -> String {
// Check if the file exists // Check if the file exists
if !playpen.rust_file.exists() || !playpen.rust_file.is_file() { 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; continue;
} }