diff --git a/lib/github_changelog_generator/generator/generator_generation.rb b/lib/github_changelog_generator/generator/generator_generation.rb index cef7abe..aaa1d2e 100644 --- a/lib/github_changelog_generator/generator/generator_generation.rb +++ b/lib/github_changelog_generator/generator/generator_generation.rb @@ -149,7 +149,7 @@ module GitHubChangelogGenerator private 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"] return "#{line} ({Null user})" unless user