diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-03 10:59:43 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-03 10:59:43 +0200 |
commit | 080997d87edcafd7afd3c3aa01da441e87493fdd (patch) | |
tree | 42ea3a3d66cf2c18caccd8f1251e2459ac2b59a9 /app | |
parent | ae5f17ae2dc0009ca5fce9a46db18af943dffbd5 (diff) | |
download | gitlab-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.rb | 2 |
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) |