Address PR review comments

This commit is contained in:
Andrew Mackenzie 2019-12-05 20:25:36 +01:00 committed by Eric Huss
parent bd14d0910a
commit c2686a817a
2 changed files with 2 additions and 3 deletions

View file

@ -36,5 +36,4 @@ not specified it will default to the value of the `build.build-dir` key in
-------------------
***Note:*** *The build command copies all files (excluding files with `.md` extension) from the source directory
into the build directory. If the build directory is under the source directory it is not copied as this would
result in a recursive copy until your disk is full.*
into the build directory.*

View file

@ -115,7 +115,7 @@ pub fn copy_files_except_ext(
let entry = entry?;
let metadata = entry.metadata()?;
// If the entry is a dir and the recursive option is enabled , call itself
// If the entry is a dir and the recursive option is enabled, call itself
if metadata.is_dir() && recursive {
if entry.path() == to.to_path_buf() {
continue;