summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-20 14:25:56 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-20 14:25:56 -0700
commitf26c2905d198436ea4c4b7f26c6971edd4ff8049 (patch)
tree0cce6227cbd0f59d429fd2fc5bea374d91e52cf7
parent41ed60c21a34f5a413c45d2d303e28b438a09ef2 (diff)
downloadgitlab-ce-f26c2905d198436ea4c4b7f26c6971edd4ff8049.tar.gz
Fix indentation
-rw-r--r--lib/gitlab/email/reply_parser.rb4
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