This commit will fix #274.
This commit is contained in:
parent
e91b8cc535
commit
b902897a22
|
@ -22,15 +22,20 @@ module GitHubChangelogGenerator
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
print_options(options)
|
||||||
|
|
||||||
|
options
|
||||||
|
end
|
||||||
|
|
||||||
|
# @param [Hash] options to display
|
||||||
|
def self.print_options(options)
|
||||||
if options[:verbose]
|
if options[:verbose]
|
||||||
Helper.log.info "Performing task with options:"
|
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"
|
options_to_display[:token] = options_to_display[:token].nil? ? nil : "hidden value"
|
||||||
pp options_to_display
|
pp options_to_display
|
||||||
puts ""
|
puts ""
|
||||||
end
|
end
|
||||||
|
|
||||||
options
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# setup parsing options
|
# setup parsing options
|
||||||
|
|
Loading…
Reference in New Issue
Block a user