mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 10:30:41 +08:00
radicle: Fix storage::refs::Error::is_not_found
Detection of errors of the "not found" kind does not account for the respective variant in `sigrefs::read::error::Read`. Fix this by adding it.
This commit is contained in:
@@ -50,6 +50,7 @@ impl Error {
|
||||
pub fn is_not_found(&self) -> bool {
|
||||
match self {
|
||||
Self::Git(e) => e.is_not_found(),
|
||||
Self::Read(sigrefs::read::error::Read::MissingSigrefs { .. }) => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user