From 79d228c7a07a69ad96f307b06346fdab947d943f Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Sat, 4 Apr 2015 00:25:14 +0300 Subject: [PATCH] cleanup --- lib/github_changelog_generator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb index 31ba9e1..20cfd8b 100755 --- a/lib/github_changelog_generator.rb +++ b/lib/github_changelog_generator.rb @@ -46,9 +46,9 @@ module GitHubChangelogGenerator @all_tags = get_all_tags @issues, @pull_requests = fetch_issues_and_pull_requests - @options[:pulls] ? @pull_requests = get_filtered_pull_requests : @pull_requests = [] + @pull_requests = @options[:pulls] ? get_filtered_pull_requests : [] - @options[:issues] ? @issues = get_filtered_issues : @issues = [] + @issues = @options[:issues] ? get_filtered_issues : [] fetch_event_for_issues_and_pr detect_actual_closed_dates