lib/cc/analyzer/formatters.rb in codeclimate-0.24.3 vs lib/cc/analyzer/formatters.rb in codeclimate-0.25.0

- old
+ new

@@ -10,10 +10,10 @@ json: JSONFormatter, text: PlainTextFormatter, }.freeze def self.resolve(name) - FORMATTERS[name.to_sym] or raise Formatter::InvalidFormatterError, "'#{name}' is not a valid formatter. Valid options are: #{FORMATTERS.keys.join(', ')}" + FORMATTERS[name.to_sym] or raise Formatter::InvalidFormatterError, "'#{name}' is not a valid formatter. Valid options are: #{FORMATTERS.keys.join(", ")}" end end end end