Remove lint warning
This commit is contained in:
parent
de38a3e026
commit
51564ec494
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user