summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-03 10:59:43 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-03 10:59:43 +0200
commit080997d87edcafd7afd3c3aa01da441e87493fdd (patch)
tree42ea3a3d66cf2c18caccd8f1251e2459ac2b59a9 /app
parentae5f17ae2dc0009ca5fce9a46db18af943dffbd5 (diff)
downloadgitlab-ce-080997d87edcafd7afd3c3aa01da441e87493fdd.tar.gz
Enable Lint/AmbiguousOperator rubocop coprubocop/enable-ambiguous-operator-rubocop-lint
See #17478
Diffstat (limited to 'app')
-rw-r--r--app/models/project_services/irker_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/irker_service.rb b/app/models/project_services/irker_service.rb
index 2e5e854fc5e..58cb720c3c1 100644
--- a/app/models/project_services/irker_service.rb
+++ b/app/models/project_services/irker_service.rb
@@ -83,7 +83,7 @@ class IrkerService < Service
self.channels = recipients.split(/\s+/).map do |recipient|
format_channel(recipient)
end
- channels.reject! &:nil?
+ channels.reject!(&:nil?)
end
def format_channel(recipient)