Skip to content

Commit

Permalink
Fix is_set
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Dec 7, 2024
1 parent fd6ec6d commit 609372b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ciphernode/cipher/src/password_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl PasswordManager for EnvPasswordManager {
}

fn is_set(&self) -> bool {
self.0 == None
self.0.is_some()
}
}

Expand All @@ -80,7 +80,7 @@ impl PasswordManager for InMemPasswordManager {
}

fn is_set(&self) -> bool {
self.0 == None
self.0.is_some()
}
}

Expand Down

0 comments on commit 609372b

Please sign in to comment.