Merge branch 'feature/rails-crash' into develop

This commit is contained in:
Petr Korolev 2014-12-15 17:02:11 +02:00
commit 5da838efee

View File

@ -10,7 +10,11 @@ module GitHubChangelogGenerator
merge = "#{@options[:merge_prefix]}#{encapsulated_title} [\\##{pull_request[:number]}](#{pull_request.html_url})"
if @options[:author]
if !pull_request.user.nil?
merge += " ([#{pull_request.user.login}](#{pull_request.user.html_url}))\n\n"
else
merge += " ({Null user})\n\n"
end
else
merge += "\n\n"
end