Currently the match check can grab a spec path not at the root. I.e. for domains/example/spec/example_spec.rb it will match spec/example_spec.rb and use that spec folder as the root. This can cause the run to use the wrong root path if using something like packwerk. By specifying start of line in the regex we guarantee we are only checking the root spec.
Currently the match check can grab a spec path not at the root. I.e. for domains/example/spec/example_spec.rb it will match spec/example_spec.rb and use that spec folder as the root. This can cause the run to use the wrong root path if using something like packwerk. By specifying start of line in the regex we guarantee we are only checking the root spec.