Remove trailing whitespace

This commit is contained in:
phase 2015-10-25 11:31:48 -07:00 committed by Olle Jonsson
parent 4c737c9373
commit 0e671a96da

View File

@ -170,15 +170,15 @@ module GitHubChangelogGenerator
title_with_number = "#{encapsulated_title} [\\##{issue[:number]}](#{issue.html_url})"
issue_line_with_user(title_with_number, issue)
end
private
def issue_line_with_user(line, issue)
return line if !@options[:author] || issue.pull_request.nil?
user = issue.user
return "#{line} ({Null user})" unless user
if user.html_url.include?("github.com")
"#{line} (@#{user.login})"
else