lib/licensed/commands/environment.rb in licensed-2.12.2 vs lib/licensed/commands/environment.rb in licensed-2.13.0

- old
+ new

@@ -33,16 +33,16 @@ super do |report| report["git_repo"] = Licensed::Git.git_repo? end end - def create_reporter(options) - case options[:format] - when "json" - Licensed::Reporters::JsonReporter.new - else - Licensed::Reporters::YamlReporter.new - end + # Returns the default reporter to use during the command run + # + # options - The options the command was run with + # + # Returns a Licensed::Reporters::StatusReporter + def default_reporter(options) + Licensed::Reporters::YamlReporter.new end protected def run_app(app)