Fix incorrect conditional.

I accidentally introduced this in 4525810737.
This commit is contained in:
Corey Farwell 2017-04-27 09:16:19 -04:00 committed by GitHub
parent 607bf4426e
commit 4f4120b5a4
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ impl MDBook {
BookItem::Chapter(_, ref ch) |
BookItem::Affix(ref ch) => ch,
};
if ch.path.as_os_str().is_empty() {
if !ch.path.as_os_str().is_empty() {
let path = self.src.join(&ch.path);
if !path.exists() {