-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not ignore subfolder with name equal to root. (#546)
Before this commit, a subfolder with the same name as the root/source folder would be ignored from the coverage reports (see #483). This was occurring because the ancestor of the subfolder was being pruned (because it matched the end of the source folder) in the method used to guess the absolute path. This resulted in an incorrect guess of the absolute path. With this commit, we first check whether the join of the subfolder relative path with the source folder exists, and if so, return it as the guess of the absolute path. If the join doesn't exist, we use the previous guess method.
- Loading branch information
1 parent
89ecd44
commit 33ecb24
Showing
2 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.