lib/brakeman/commandline.rb in brakeman-5.1.0 vs lib/brakeman/commandline.rb in brakeman-5.1.1
- old
+ new
@@ -124,10 +124,10 @@
def regular_report options
tracker = run_brakeman options
ensure_ignore_notes_failed = false
if tracker.options[:ensure_ignore_notes]
- fingerprints = Brakeman::ignore_file_entries_with_empty_notes tracker.ignored_filter&.file, options
+ fingerprints = Brakeman::ignore_file_entries_with_empty_notes tracker.ignored_filter&.file
unless fingerprints.empty?
ensure_ignore_notes_failed = true
warn '[Error] Notes required for all ignored warnings when ' \
'--ensure-ignore-notes is set. No notes provided for these ' \