diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-27 23:17:16 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-27 23:17:16 -0800 |
commit | e2d0e4c9bf6a23e2d8e37eeef63e234e54efde26 (patch) | |
tree | 6b4b9db575379042330dba7b81f78ea91cbf662a /core/src | |
parent | ff319e9314dac149d361daea87c89b2b9d7ebb08 (diff) | |
download | mill-e2d0e4c9bf6a23e2d8e37eeef63e234e54efde26.tar.gz mill-e2d0e4c9bf6a23e2d8e37eeef63e234e54efde26.tar.bz2 mill-e2d0e4c9bf6a23e2d8e37eeef63e234e54efde26.zip |
Fix publishLocal of Mill's own build
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/mill/main/RunScript.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/mill/main/RunScript.scala b/core/src/mill/main/RunScript.scala index b4de2966..29ba09dd 100644 --- a/core/src/mill/main/RunScript.scala +++ b/core/src/mill/main/RunScript.scala @@ -184,7 +184,7 @@ object RunScript{ evaluated.failing.keyCount match { case 0 => - val json = for(t <- targets) yield { + val json = for(t <- targets.toSeq) yield { t match { case t: mill.define.NamedTask[_] => val jsonFile = Evaluator @@ -197,7 +197,7 @@ object RunScript{ } } - watched -> Right(evaluated.values.zip(json.toSeq)) + watched -> Right(evaluated.values.zip(json)) case n => watched -> Left(s"$n targets failed\n$errorStr") } } |