The macro subpackages.all() delivers broken results when applied in a root package. This is due to a string manipulation not taking into account that the root package name is an empty string.
Assuming there is a package //foo. Then subpackages.all returns ["///foo"]. However, the expected result would be ["//foo"].
I have a pull request to fix this. I would be happy to contribute.
The macro
subpackages.all()
delivers broken results when applied in a root package. This is due to a string manipulation not taking into account that the root package name is an empty string.Assuming there is a package //foo. Then subpackages.all returns
["///foo"]
. However, the expected result would be["//foo"]
.I have a pull request to fix this. I would be happy to contribute.