From 0df2687b937262ae43bf3704936ce2adcc21b5f8 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Tue, 1 Sep 2015 09:11:52 +0300 Subject: [PATCH] This commit will fix #274. --- lib/github_changelog_generator/parser.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index 12cee92..d1b36b7 100644 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -22,15 +22,20 @@ module GitHubChangelogGenerator exit end + print_options(options) + + options + end + + # @param [Hash] options to display + def self.print_options(options) if options[:verbose] Helper.log.info "Performing task with options:" - options_to_display = options + options_to_display = options.clone options_to_display[:token] = options_to_display[:token].nil? ? nil : "hidden value" pp options_to_display puts "" end - - options end # setup parsing options