fix(cosmic_config): is_err method conditions reversed

This commit is contained in:
Michael Aaron Murphy 2025-02-14 22:42:50 +01:00 • committed by Adam Cosner
parent c91742c982
commit 5459f0b12a

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)
}
}