This commit will fix #274.

This commit is contained in:
Petr Korolev 2015-09-01 09:11:52 +03:00
parent e91b8cc535
commit b902897a22

View File

@ -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