Skip to content

Commit

Permalink
feat: now if language is not setted in book.toml use the default fold…
Browse files Browse the repository at this point in the history
…er to render
  • Loading branch information
Phosphorus-M committed Mar 15, 2024
1 parent d43af7a commit e93ed08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ fn get_build_opts(args: &ArgMatches) -> BuildOpts {
let language = if args.contains_id("language") {
args.get_one::<String>("language").map(String::from)
} else {
println!("No tiene lenguaje");
Some("no tiene".to_string())
None
};

BuildOpts {
Expand Down

0 comments on commit e93ed08

Please sign in to comment.