about summary refs log tree commit diff
path: root/lib/mastodon
diff options
context:
space:
mode:
authorShubhendra Singh Chauhan <withshubh@gmail.com>2021-02-01 01:56:09 +0530
committerGitHub <noreply@github.com>2021-01-31 21:26:09 +0100
commitc8d11b8bdb97a1a2f8aaf5deca5f1c6c7c0d2688 (patch)
tree3b3552d07969abc85bac41b1ac5ff7fb8e2573a7 /lib/mastodon
parent3efa0c54b6656fba189baab0857e60c0bc4f3c7d (diff)
Fixed code quality issues (#15541)
* Added .deepsource.toml

* Removed bad use of `alias`

* Fixed operand order in the binary expression

* Prefixed unused method arguments with an underscore

* Replaced the old OpenSSL algorithmic constants with the newer strings initializers.

* Removed unnecessary UTF-8 encoding comment
Diffstat (limited to 'lib/mastodon')
-rw-r--r--lib/mastodon/email_domain_blocks_cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/email_domain_blocks_cli.rb b/lib/mastodon/email_domain_blocks_cli.rb
index 55a637d68..f79df302a 100644
--- a/lib/mastodon/email_domain_blocks_cli.rb
+++ b/lib/mastodon/email_domain_blocks_cli.rb
@@ -113,7 +113,7 @@ module Mastodon
         result = entry.destroy
 
         if result
-          processed += 1 + children_count
+          processed += children_count + 1
         else
           say("#{domain} could not be unblocked.", :red)
           failed += 1