Merge pull request #413 from behnam/gitignore

[book] Prevent over-matching in gitignore rule
This commit is contained in:
Mathieu David 2017-08-31 19:27:38 +02:00 committed by GitHub
commit ebcf1e495d
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ impl MDBook {
debug!("[*]: Writing to .gitignore");
writeln!(f, "{}", relative).expect("Could not write to file.");
writeln!(f, "/{}", relative).expect("Could not write to file.");
}
}