Permalink
Browse files

JsonFormatter initializer needs to take an options hash, because that…

…'s how the runner call it now.
  • Loading branch information...
1 parent 4408e80 commit 2d3f86186c677d09f2a43eee057bd550952067e7 @svoynow committed Jul 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cane/json_formatter.rb
@@ -5,7 +5,7 @@ module Cane
# Computes a machine-readable JSON representation from an array of violations
# computed by the checks.
class JsonFormatter
- def initialize(violations)
+ def initialize(violations, options = {})
@violations = violations
end

0 comments on commit 2d3f861

Please sign in to comment.