Paths listed in ignoreRepositories will fail to match if the string is different even if the path is the same.
This is caused by failing to normalise the path correctly.
Steps to Reproduce
Have a project setup like so:
/project
/project/external1
/project/external1/external2
Set the ignoredRepositories like so:
"/project/external1",
"/project/external1/external2"
You will now see external1 remains as the second external resulted in a "/project/external1/" path which wont get ignored.
Solution
normalizePath() needs to account for the final slash at the end of the path.
Issue
Paths listed in ignoreRepositories will fail to match if the string is different even if the path is the same. This is caused by failing to normalise the path correctly.
Steps to Reproduce
Solution
normalizePath() needs to account for the final slash at the end of the path.