This commit is contained in:
Brendan Hansknecht 2024-07-13 10:39:32 -07:00
parent 9110457480
commit c5c2617596
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -1201,8 +1201,7 @@ fn get_xcode_version() -> f32 {
.and_then(|out| String::from_utf8(out.stdout).map_err(|_| ()))
.and_then(|str| {
str.split_whitespace()
.skip(1)
.next()
.nth(1)
.map(|s| s.to_string())
.ok_or(())
})