From 5ae702742537f4ae49816fe5f8add92b10166ff2 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sat, 1 Oct 2016 19:46:52 +0200 Subject: [PATCH] Fix: Turn Sawyer method into String-keyed hash access (#429) --- .../generator/generator_generation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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