You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root directory ( new File(".") ) is always added as an importer, which in multi module scenarios means that the every file can be found twice.
root/
api/
src/main/thrift/services.thrift
Produces the following warning
WARN: Expected to find just 1 match for /root/api/src/main/thrift/services.thrift, but found 2, in DirImporter(/root), DirImporter(/root/api/src/main/thrift/)
The text was updated successfully, but these errors were encountered:
Since our upgrade to
21.2.0
we see hundreds of warnings due toExpected to find just 1 match for <... thrift file name... >
.We have multi module setups and this line is responsible for the new warnings.
scrooge/scrooge-generator/src/main/scala/com/twitter/scrooge/Compiler.scala
Line 48 in 1c26f6c
The root directory (
new File(".")
) is always added as an importer, which in multi module scenarios means that the every file can be found twice.Produces the following warning
The text was updated successfully, but these errors were encountered: