提交 2306b485 编写于 作者: J Justin

Merge pull request #633 from presidentbeef/fix_compare_and_external_checks

Fix using --compare and --add-checks-path together
......@@ -399,8 +399,6 @@ module Brakeman
require 'brakeman/differ'
raise ArgumentError.new("Comparison file doesn't exist") unless File.exists? options[:previous_results_json]
add_external_checks options
begin
previous_results = MultiJson.load(File.read(options[:previous_results_json]), :symbolize_keys => true)[:warnings]
rescue MultiJson::DecodeError
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册