Compare commits

..

4 Commits

Author SHA1 Message Date
Mathieu David
69188445e7 (cargo-release) version 0.0.21 2017-04-27 16:03:02 +02:00
Mathieu David
9b7a26effd Merge pull request #259 from azerupi/incorrect-conditional
Fix incorrect conditional.
2017-04-27 16:00:29 +02:00
Corey Farwell
4f4120b5a4 Fix incorrect conditional.
I accidentally introduced this in 4525810737.
2017-04-27 09:16:19 -04:00
Mathieu David
607bf4426e (cargo-release) start next development iteration 0.0.21-pre 2017-04-26 19:25:14 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "mdbook"
version = "0.0.20"
version = "0.0.21"
authors = ["Mathieu David <mathieudavid@mathieudavid.org>"]
description = "create books from markdown files (like Gitbook)"
documentation = "http://azerupi.github.io/mdBook/index.html"

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() {