Skip to content

Commit b39ea79

Browse files
author
Kacper Golinski
committed
rescue RuntimeError
1 parent 15bb2d9 commit b39ea79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fasterer/github/scanner.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def traverse_and_collect_data
4646
def analyze_code(data)
4747
analyzer = Fasterer::Github::AnalyzerExtension.new(data[:content64])
4848
analyzer.scan
49-
rescue RubyParser::SyntaxError, Racc::ParseError, Timeout::Error
49+
rescue RubyParser::SyntaxError, Racc::ParseError, Timeout::Error, RuntimeError
5050
output_composer.add_errors(data[:path])
5151
else
5252
output_composer.add_offences(analyzer.offences, data[:path])

0 commit comments

Comments
 (0)