lib/access_lint/audit.rb in access_lint-0.1.0 vs lib/access_lint/audit.rb in access_lint-0.1.1
- old
+ new
@@ -24,10 +24,10 @@
@output = runner.output
parse_output
end
def parse_output
- raw_results = JSON.parse(@output)
+ raw_results = JSON.parse(@output, max_nesting: 200)
raw_results.map { |result| result.delete('elements') }
@results = raw_results.group_by { |result| result['status'] }
rescue Exception => e
raise AccessLint::ParserError.new(e.message)
end