Skip to content

Commit

Permalink
chore(lint): fix code lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Jul 20, 2024
1 parent 8e71cbb commit d784183
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ pub(crate) fn resolve_command(
clap
}

pub(crate) fn merge_args_matches(parsed_args: &mut JsObject, cmd: &Command, matches: &clap::ArgMatches) -> Result<()> {
pub(crate) fn merge_args_matches(
parsed_args: &mut JsObject,
cmd: &Command,
matches: &clap::ArgMatches,
) -> Result<()> {
for id in matches.ids() {
let cmd = &cmd;
let opts = cmd
Expand All @@ -149,6 +153,6 @@ pub(crate) fn merge_args_matches(parsed_args: &mut JsObject, cmd: &Command, matc
}
_ => panic!("Unsupported option type"),
}
};
}
Ok(())
}

0 comments on commit d784183

Please sign in to comment.