Skip to content

Commit

Permalink
#1195 check for value
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 22, 2024
1 parent 6183fd5 commit 74024bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects/human.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Nb::Human
def initialize(pgsql, identity)
@pgsql = pgsql
raise 'Identity is NULL' if identity.nil?
raise 'Identity is empty' if identity.empty?
@identity = identity
end

Expand Down

0 comments on commit 74024bb

Please sign in to comment.