提交 b261b832 编写于 作者: J Justin Collins

Expand paths from app_path on rescan

上级 aee25c71
......@@ -10,7 +10,7 @@ class Brakeman::Rescanner < Brakeman::Scanner
def initialize options, processor, changed_files
super(options, processor)
@paths = changed_files.map {|f| File.expand_path f } #Files to rescan
@paths = changed_files.map {|f| File.expand_path f, tracker.options[:app_path] }
@old_results = tracker.checks #Old warnings from previous scan
@changes = nil #True if files had to be rescanned
@reindex = Set.new
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册