diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-18 13:04:04 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-18 13:04:04 -0800 |
commit | 910b49da3f068768fd5826407759aa4defbcfdf4 (patch) | |
tree | 940abe301f8545e7accb351e7cfffc140da30291 /scalaplugin | |
parent | 8e8173e3afe60e162067fdc3440e451cc2d0da9c (diff) | |
download | mill-910b49da3f068768fd5826407759aa4defbcfdf4.tar.gz mill-910b49da3f068768fd5826407759aa4defbcfdf4.tar.bz2 mill-910b49da3f068768fd5826407759aa4defbcfdf4.zip |
Inject logging callback into Evaluator, so we can silence the logging in our unit tests
Diffstat (limited to 'scalaplugin')
-rw-r--r-- | scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala b/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala index 622f21eb..5e08a394 100644 --- a/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala +++ b/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala @@ -21,7 +21,7 @@ object GenIdea { val discovered = implicitly[Discovered[T]] val mapping = Discovered.mapping(obj)(discovered) val workspacePath = pwd / 'out - val evaluator = new Evaluator(workspacePath, mapping) + val evaluator = new Evaluator(workspacePath, mapping, _ => ()) val modules = Mirror.traverse(discovered.mirror){ (h, p) => h.node(obj) match { |