提交 35483c28 编写于 作者: J Justin Collins

Report parsed files in debug output

上级 051b5c70
......@@ -32,6 +32,7 @@ module Brakeman
def parse_ruby input, path
begin
Brakeman.debug "Parsing #{path}"
RubyParser.new.parse input, path
rescue Racc::ParseError => e
@tracker.error e, "Could not parse #{path}"
......
......@@ -16,6 +16,7 @@ module Brakeman
type = path.match(KNOWN_TEMPLATE_EXTENSIONS)[1].to_sym
type = :erb if type == :rhtml
name = template_path_to_name path
Brakeman.debug "Parsing #{path}"
begin
src = case type
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册