mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
1f7b4447a9
commit
efa7e96821
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Rails
|
|||
|
||||
add_gem_filters
|
||||
|
||||
add_silencer { |line| !APP_DIRS.any? { |dir| line =~ /^#{dir}/ } }
|
||||
add_silencer { |line| !APP_DIRS.any? { |dir| line =~ /^\/?#{dir}/ } }
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue