Wrap long line.
This commit is contained in:
parent
15dcca87d8
commit
5d72d966ad
1 changed files with 3 additions and 1 deletions
|
|
@ -190,7 +190,9 @@ impl MDBook {
|
||||||
|
|
||||||
if !path.exists() {
|
if !path.exists() {
|
||||||
if !self.create_missing {
|
if !self.create_missing {
|
||||||
return Err(format!("'{}' referenced from SUMMARY.md does not exist.", path.to_string_lossy()).into());
|
return Err(format!(
|
||||||
|
"'{}' referenced from SUMMARY.md does not exist.",
|
||||||
|
path.to_string_lossy()).into());
|
||||||
}
|
}
|
||||||
debug!("[*]: {:?} does not exist, trying to create file", path);
|
debug!("[*]: {:?} does not exist, trying to create file", path);
|
||||||
try!(::std::fs::create_dir_all(path.parent().unwrap()));
|
try!(::std::fs::create_dir_all(path.parent().unwrap()));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue