bin/brakeman in brakeman-3.1.2 vs bin/brakeman in brakeman-3.1.3

- old
+ new

@@ -76,10 +76,10 @@ else #Run scan and output a report tracker = Brakeman.run options.merge(:print_report => true, :quiet => options[:quiet]) #Return error code if --exit-on-warn is used and warnings were found - if options[:exit_on_warn] and not tracker.filtered_warnings.empty? + if tracker.options[:exit_on_warn] and not tracker.filtered_warnings.empty? exit Brakeman::Warnings_Found_Exit_Code end end rescue Brakeman::NoApplication => e $stderr.puts e.message