diff options
Diffstat (limited to 'lib/flowdock/git/builder.rb')
-rw-r--r-- | lib/flowdock/git/builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flowdock/git/builder.rb b/lib/flowdock/git/builder.rb index 6f4428d1f42..29cf325c383 100644 --- a/lib/flowdock/git/builder.rb +++ b/lib/flowdock/git/builder.rb @@ -52,7 +52,7 @@ module Flowdock def body content = @commit[:message][first_line.size..-1] - content.strip! if content + content&.strip! "<pre>#{content}</pre>" unless content.empty? end |