Skip to content

Commit

Permalink
remove redundant return value
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Nov 4, 2024
1 parent e1fd4f4 commit 3f452fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lavinmq/name_validator.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ class NameValidator

def self.valid_prefix?(name)
return true if PREFIX_LIST.any? { |prefix| name.starts_with? prefix }
return false
end

def self.valid_entity_name(name) : Bool
Expand Down

0 comments on commit 3f452fa

Please sign in to comment.