mirror of https://github.com/sbt/sbt.git
I wrote this check in a rush and realized that it didn't quite match the correct glob semantics. The depth parameter is effectively the index of the array of sorted child directories of the base. That index is computed with getNameCount - 1, not getNameCount. It is also inclusive, not exclusive, hence the switch from `<` to `<=`. This change was motivated by my reviewing the initial change in the context of the fix to https://github.com/sbt/sbt/issues/4591. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||