lib/fasterer/file_traverser.rb in fasterer-0.1.1 vs lib/fasterer/file_traverser.rb in fasterer-0.1.2
- old
+ new
@@ -41,10 +41,10 @@
attr_reader :parse_error_paths
def scan_file(path)
analyzer = Analyzer.new(path)
analyzer.scan
- rescue Fasterer::ParseError, RubyParser::SyntaxError, Racc::ParseError
+ rescue RubyParser::SyntaxError, Racc::ParseError
parse_error_paths.push(path)
else
output(analyzer) if offenses_grouped_by_type(analyzer).any?
end