提交 efa7e968 编写于 作者: R Ryan Bigg 提交者: José Valim

It seems the test directory backtrace line is output with a / before it,...

It seems the test directory backtrace line is output with a / before it, thereby previously making it not match the regex. Support APP_DIRS that have backtrace lines maybe beginning with /. [#4277 state:resolved]
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 1f7b4447
......@@ -13,7 +13,7 @@ def initialize
add_gem_filters
add_silencer { |line| !APP_DIRS.any? { |dir| line =~ /^#{dir}/ } }
add_silencer { |line| !APP_DIRS.any? { |dir| line =~ /^\/?#{dir}/ } }
end
private
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册