Skip to content

Commit 44f620b

Browse files
committed
remove another rubocop suggestion
1 parent 9285d97 commit 44f620b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mailhandler/receiving/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def validate_count_option(options)
9090

9191
count = options[:count]
9292
error_message = "Incorrect option options[:count]=#{options[:count]}."
93-
raise MailHandler::Error, error_message if count.negative? || (count > 2000)
93+
raise MailHandler::Error, error_message if (count <0) || (count > 2000)
9494
end
9595

9696
def validate_used_options(options)

0 commit comments

Comments
 (0)