usernames_as_github_logins: Use option
This commit is contained in:
parent
58bfa047c4
commit
3962474e9f
|
@ -179,7 +179,7 @@ module GitHubChangelogGenerator
|
|||
user = issue.user
|
||||
return "#{line} ({Null user})" unless user
|
||||
|
||||
if user.html_url.include?("github.com")
|
||||
if @options[:usernames_as_github_logins]
|
||||
"#{line} (@#{user.login})"
|
||||
else
|
||||
"#{line} ([#{user.login}](#{user.html_url}))"
|
||||
|
|
Loading…
Reference in New Issue
Block a user