Commit 7218daaa authored by http://jneen.net/'s avatar http://jneen.net/

fix guard style

parent 1b8a576d
...@@ -13,7 +13,9 @@ module Gitlab ...@@ -13,7 +13,9 @@ module Gitlab
encoding = body.encoding encoding = body.encoding
body = EmailReplyTrimmer.trim(body) or return "" body = EmailReplyTrimmer.trim(body)
return '' unless body
# not using /\s+$/ here because that deletes empty lines # not using /\s+$/ here because that deletes empty lines
body = body.gsub(/[ \t]$/, '') body = body.gsub(/[ \t]$/, '')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment