Skip to content

Commit

Permalink
Fix provisioning profile path detection
Browse files Browse the repository at this point in the history
  • Loading branch information
emricksinisonos committed Jan 3, 2025
1 parent 0e80abb commit b6d6082
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dinghy-lib/src/apple/xcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ pub fn look_for_signature_settings(device_id: &str) -> Result<Vec<SignatureSetti
];
for file in profiles_dir
.iter()
.flat_map(|path| fs::read_dir(home.join(path)).unwrap())
.filter_map(|path| fs::read_dir(home.join(path)).ok())
.flatten()
{
let file = file?;
if file.path().starts_with(".")
Expand Down

0 comments on commit b6d6082

Please sign in to comment.