platform: ignore config errors in multiplatform lookup

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If1dbcb7967510e17f1d49228106067536a6a6964
This commit is contained in:
raf 2026-05-01 19:34:38 +03:00
commit 019a1b7752
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -38,7 +38,9 @@ impl MultiplatformPlatform {
Err(e) => {
let is_not_found = matches!(
e,
PakkerError::ProjectNotFound(_) | PakkerError::InvalidResponse(_)
PakkerError::ProjectNotFound(_)
| PakkerError::InvalidResponse(_)
| PakkerError::ConfigError(_)
);
if is_not_found { Ok(None) } else { Err(e) }
},