lib/cc/analyzer/formatters.rb in codeclimate-0.16.5 vs lib/cc/analyzer/formatters.rb in codeclimate-0.16.6
- old
+ new
@@ -10,10 +10,10 @@
json: JSONFormatter,
text: PlainTextFormatter,
}.freeze
def self.resolve(name)
- FORMATTERS[name.to_sym] or raise 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