Revert reordering

This commit is contained in:
Jaime Valdemoros 2018-01-07 20:10:10 +00:00
parent b98ed3f794
commit 08027b86cc
1 changed files with 1 additions and 1 deletions

View File

@ -234,8 +234,8 @@ impl MDBook {
if let BookItem::Chapter(ref ch) = *item { if let BookItem::Chapter(ref ch) = *item {
if !ch.path.as_os_str().is_empty() { if !ch.path.as_os_str().is_empty() {
let path = self.source_dir().join(&ch.path); let path = self.source_dir().join(&ch.path);
println!("[*]: Testing file: {:?}", path);
let content = utils::fs::file_to_string(&path)?; let content = utils::fs::file_to_string(&path)?;
println!("[*]: Testing file: {:?}", path);
// write preprocessed file to tempdir // write preprocessed file to tempdir
let path = temp_dir.path().join(&ch.path); let path = temp_dir.path().join(&ch.path);