We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9285d97 commit 44f620bCopy full SHA for 44f620b
lib/mailhandler/receiving/base.rb
@@ -90,7 +90,7 @@ def validate_count_option(options)
90
91
count = options[:count]
92
error_message = "Incorrect option options[:count]=#{options[:count]}."
93
- raise MailHandler::Error, error_message if count.negative? || (count > 2000)
+ raise MailHandler::Error, error_message if (count <0) || (count > 2000)
94
end
95
96
def validate_used_options(options)
0 commit comments