stringify more keys

This commit is contained in:
Andrew Waage 2016-05-19 23:56:11 -07:00 committed by Olle Jonsson
parent ca5d6d9675
commit 53b0684e67

View File

@ -178,9 +178,9 @@ Make sure, that you push tags to remote repo via 'git push --tags'"
response = @github.issues.events.list user: @options[:user], response = @github.issues.events.list user: @options[:user],
repo: @options[:project], repo: @options[:project],
issue_number: issue["number"] issue_number: issue["number"]
issue[:events] = [] issue['events'] = []
response.each_page do |page| response.each_page do |page|
issue[:events].concat(page) issue['events'].concat(page)
end end
rescue Github::Error::Forbidden => e rescue Github::Error::Forbidden => e
Helper.log.warn e.error_messages.map { |m| m[:message] }.join(", ") Helper.log.warn e.error_messages.map { |m| m[:message] }.join(", ")