lib/brakeman/commandline.rb in brakeman-5.0.4 vs lib/brakeman/commandline.rb in brakeman-5.1.0

- 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 + fingerprints = Brakeman::ignore_file_entries_with_empty_notes tracker.ignored_filter&.file, options 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 ' \