Skip to content
Snippets Groups Projects
Commit f5e6c447 authored by yisiliang's avatar yisiliang Committed by Sean McGivern
Browse files

use #blank? instead #nil?

parent b84fed0f
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -194,7 +194,7 @@ class Commit
def description
return safe_message if full_title.length >= 100
 
if safe_message.nil?
if safe_message.blank?
no_commit_message
else
safe_message.split("\n", 2)[1].try(:chomp)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment