Remove trailing whitespace
This commit is contained in:
parent
4c737c9373
commit
0e671a96da
|
@ -170,15 +170,15 @@ module GitHubChangelogGenerator
|
||||||
title_with_number = "#{encapsulated_title} [\\##{issue[:number]}](#{issue.html_url})"
|
title_with_number = "#{encapsulated_title} [\\##{issue[:number]}](#{issue.html_url})"
|
||||||
issue_line_with_user(title_with_number, issue)
|
issue_line_with_user(title_with_number, issue)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def issue_line_with_user(line, issue)
|
def issue_line_with_user(line, issue)
|
||||||
return line if !@options[:author] || issue.pull_request.nil?
|
return line if !@options[:author] || issue.pull_request.nil?
|
||||||
|
|
||||||
user = issue.user
|
user = issue.user
|
||||||
return "#{line} ({Null user})" unless user
|
return "#{line} ({Null user})" unless user
|
||||||
|
|
||||||
if user.html_url.include?("github.com")
|
if user.html_url.include?("github.com")
|
||||||
"#{line} (@#{user.login})"
|
"#{line} (@#{user.login})"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user