Skip to content

Commit

Permalink
fix: fix compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Oct 4, 2022
1 parent 218909c commit 602c14e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/fkl_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ fn main() {
let matches: ArgMatches = cmd.get_matches();
match matches.subcommand() {
Some(("gen", matches)) => {
println!("fkl gen --path <path> --lang <lang>");

let mut is_success = false;
let feakin_path = matches.get_one::<PathBuf>("path");
let lang = matches.get_one::<String>("lang");
Expand All @@ -59,11 +57,11 @@ fn main() {
Implementation::PublishHttpApi(http) => {
if let Some(filter_impl) = filter_impl {
if &http.name == filter_impl {
let output = gen_http_api(http.clone(), &lang).unwrap();
let output = gen_http_api(http.clone(), "java").unwrap();
println!("{}", output);
}
} else {
let output = gen_http_api(http.clone(), &lang).unwrap();
let output = gen_http_api(http.clone(), "java").unwrap();
println!("{}", output);
}
}
Expand Down

0 comments on commit 602c14e

Please sign in to comment.