Closed jamiely closed 7 years ago
@jamiely it would probably be better to make it handle all the given path . Do you think you could expand on what you started?
I think the best approach would be to make the BruteForceSequenceMatcher#getSourceRelativePath
lookup based on precedence. First it would perform this function on the first path in the list. If no results are found, then it would proceed to the next path. I'm not sure if I will get around to this, but just leaving this here in case someone sees this and has some time.
Make BruteForceSequenceMatcher only look at first path
Currently
BruteForceSequenceMatcher
doesn't handle multiple comma-delimited sources provided insonar.sources
. One might specify multiple comma-delimited source paths viasonar.sources
in order to analyze both Scala and JavaScript, for example.This hack doesn't fix the root issue but makes the behavior a little more straightforward, as right now it just treats a list of paths as a single path.