Remove lint warning

This commit is contained in:
Sathis Kumar 2021-06-22 20:07:15 +05:30
parent de38a3e026
commit 51564ec494
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pub fn execute(args: &ArgMatches) -> Result<()> {
// If flag `--theme` is present, copy theme to src // If flag `--theme` is present, copy theme to src
if args.is_present("theme-only") { if args.is_present("theme-only") {
builder.copy_across_theme(); builder.copy_across_theme()?;
return Ok(()); return Ok(());
} else if args.is_present("theme") { } else if args.is_present("theme") {
let theme_dir = book_dir.join("theme"); let theme_dir = book_dir.join("theme");