Skip to content

Commit

Permalink
Make sense of AI suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
simpsonjulian committed Jan 6, 2025
1 parent 2b69f8e commit e3c53fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def find_severity(result, run)
end
end

elsif driver.rules&.length&.positive? # severity in the rule
elsif driver.rules.length.positive? # severity in the rule
rule = driver.rules.select { |r| r.id == rule_id }.first
rule.defaultConfiguration.level
else
Expand Down

0 comments on commit e3c53fc

Please sign in to comment.