fix(cosmic_config): is_err method conditions reversed

This commit is contained in:
Michael Aaron Murphy 2025-02-14 22:42:50 +01:00
parent cd8f4ee859
commit 580db26868
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -62,7 +62,7 @@ impl Error {
///
/// Useful for determining if it is appropriate to log as an error.
pub fn is_err(&self) -> bool {
matches!(self, Self::NoConfigDirectory | Self::NotFound)
!matches!(self, Self::NoConfigDirectory | Self::NotFound)
}
}