Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
gnalh committed Oct 2, 2024
1 parent ba5cf88 commit 125b3e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcresult/src/xcresult.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn xcrun<T: AsRef<str>>(args: &[T]) -> anyhow::Result<String> {
}

fn xcrun_version() -> anyhow::Result<i32> {
let version_raw = xcrun(&vec!["--version"])?;
let version_raw = xcrun(&["--version"])?;
// regex to match version where the output looks like xcrun version 70.
let re = regex::Regex::new(r"xcrun version (\d+)")?;
lazy_static! {
Expand Down Expand Up @@ -164,7 +164,7 @@ impl XCResult {
.get("identifierURL")
.and_then(|r| r.get("_value"))
.and_then(|r| r.as_str())
.map(|raw_id| XCResult::generate_id(raw_id))
.map(XCResult::generate_id)
.unwrap_or_default();
testcase_junit.extra.insert("id".into(), id.into());
let file_components = uri.split('#').collect::<Vec<&str>>();
Expand Down

0 comments on commit 125b3e1

Please sign in to comment.