Merge pull request #259 from azerupi/incorrect-conditional

Fix incorrect conditional.
This commit is contained in:
Mathieu David 2017-04-27 16:00:29 +02:00 committed by GitHub
commit 9b7a26effd
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() {