Skip to content

Commit

Permalink
Fix regression in rails filters
Browse files Browse the repository at this point in the history
In converting this to a regex in a0b14a1, an extra leading `/` was added,
making this filter less useful (it would literally match the `/^/db/`
path).
  • Loading branch information
jenseng committed Aug 29, 2017
1 parent c5e8654 commit 1e11efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simplecov/defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
load_profile "test_frameworks"

add_filter %r{^/config/}
add_filter %r{/^/db/}
add_filter %r{^/db/}

add_group "Controllers", "app/controllers"
add_group "Channels", "app/channels" if defined?(ActionCable)
Expand Down

0 comments on commit 1e11efa

Please sign in to comment.