Skip to content

Commit

Permalink
chore: make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Dec 13, 2024
1 parent 3f879b6 commit 665f936
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/junit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ pub fn parse_junit_xml(file_bytes: &[u8], filepaths: Option<Vec<String>>) -> PyR

reader.config_mut().trim_text(true);

let network = match filepaths {
None => None,
Some(filepaths) => Some(filepaths.into_iter().collect()),
};
let network = filepaths.map(|v| v.into_iter().collect());

let parsing_info = use_reader(&mut reader, network).map_err(|e| {
let pos = reader.buffer_position();
Expand Down

0 comments on commit 665f936

Please sign in to comment.