diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-21 00:25:56 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-21 00:25:56 +0300 |
commit | f26c2905d198436ea4c4b7f26c6971edd4ff8049 (patch) | |
tree | 0cce6227cbd0f59d429fd2fc5bea374d91e52cf7 /lib | |
parent | 41ed60c21a34f5a413c45d2d303e28b438a09ef2 (diff) |
Fix indentation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/email/reply_parser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/email/reply_parser.rb b/lib/gitlab/email/reply_parser.rb index 6ceb755968c..6e768e46a71 100644 --- a/lib/gitlab/email/reply_parser.rb +++ b/lib/gitlab/email/reply_parser.rb @@ -72,8 +72,8 @@ module Gitlab lines.each_with_index do |l, idx| # This one might be controversial but so many reply lines have years, times and end with a colon. - # Let's try it and see how well it works. - break if (l =~ /\d{4}/ && l =~ /\d:\d\d/ && l =~ /\:$/) || + # Let's try it and see how well it works. + break if (l =~ /\d{4}/ && l =~ /\d:\d\d/ && l =~ /\:$/) || (l =~ /On \w+ \d+,? \d+,?.*wrote:/) # Headers on subsequent lines |