Skip to content

Commit 4f4120b

Browse files
authored
Fix incorrect conditional.
I accidentally introduced this in azerupi@4525810.
1 parent 607bf44 commit 4f4120b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/book/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl MDBook {
185185
BookItem::Chapter(_, ref ch) |
186186
BookItem::Affix(ref ch) => ch,
187187
};
188-
if ch.path.as_os_str().is_empty() {
188+
if !ch.path.as_os_str().is_empty() {
189189
let path = self.src.join(&ch.path);
190190

191191
if !path.exists() {

0 commit comments

Comments
 (0)