Fix: Turn Sawyer method into String-keyed hash access (#429)

This commit is contained in:
Olle Jonsson 2016-10-01 19:46:52 +02:00 committed by GitHub
parent 828d639348
commit 5ae7027425

View File

@ -149,7 +149,7 @@ module GitHubChangelogGenerator
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