Fix incorrect conditional.
I accidentally introduced this in 4525810737
.
This commit is contained in:
parent
607bf4426e
commit
4f4120b5a4
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue