diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-05-11 05:58:06 +0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-05-13 10:46:56 +0300 |
commit | f5a0ac0fc197bae2eb5fe1045ed237cdbbaf6ea4 (patch) | |
tree | 29c89f80adc403185f931966d49c67f830be842b /lib/gitlab/email/reply_parser.rb | |
parent | 311fb58c44fe6dd14709c8eb8f9346ec73e03aff (diff) |
Codestyle: make sure we have space around operators
Diffstat (limited to 'lib/gitlab/email/reply_parser.rb')
-rw-r--r-- | lib/gitlab/email/reply_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/reply_parser.rb b/lib/gitlab/email/reply_parser.rb index 6ed36b51f12..3411eb1d9ce 100644 --- a/lib/gitlab/email/reply_parser.rb +++ b/lib/gitlab/email/reply_parser.rb @@ -65,7 +65,7 @@ module Gitlab (l =~ /On \w+ \d+,? \d+,?.*wrote:/) # Headers on subsequent lines - break if (0..2).all? { |off| lines[idx+off] =~ REPLYING_HEADER_REGEX } + break if (0..2).all? { |off| lines[idx + off] =~ REPLYING_HEADER_REGEX } # Headers on the same line break if REPLYING_HEADER_LABELS.count { |label| l.include?(label) } >= 3 |