Skip to content

Commit

Permalink
Update lib/diffcrypt/rails/encrypted_configuration.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Qualie <[email protected]>
  • Loading branch information
mohammed-io and marcqualie authored Dec 8, 2023
1 parent aa3bae2 commit 78cac9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/diffcrypt/rails/encrypted_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def key
# does not raise MissingKeyError when +raise_if_missing_key+ is true.
# @return [Boolean]
def key?
read_env_key || read_key_file
!!(read_env_key || read_key_file)
end

def change(&block)
Expand Down

0 comments on commit 78cac9a

Please sign in to comment.