fix(cosmic_config): is_err method conditions reversed
This commit is contained in:
parent
cd8f4ee859
commit
580db26868
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue