This commit is contained in:
meehl committed 2026-08-12 20:46:43 +02:00
1 parent 99fc9f608e
commit e43da1b9e8
25 files changed
+110 -135

No files matched your search

+4 -4
View File
@@ -59,10 +59,10 @@ fn find_nearby_launch_script() -> Option<PathBuf> {
}
for candidate in candidates {
if candidate.try_exists().is_ok_and(|exists| exists) {
if let Some(Ok(candidate)) = candidate.parent().map(Path::canonicalize) {
return Some(candidate);
}
if candidate.try_exists().is_ok_and(|exists| exists)
&& let Some(Ok(candidate)) = candidate.parent().map(Path::canonicalize)
{
return Some(candidate);
}
}