From 0b48564f8baee00245260018a58d732e4631aaff Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 24 Jul 2017 13:42:40 -0700 Subject: [PATCH] in build, avoid method deprecated in sbt 0.13.16 toError is deprecated now. the replacement code is as recommended by the deprecation message --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 9bd553c..dcabb6c 100644 --- a/build.sbt +++ b/build.sbt @@ -65,7 +65,8 @@ lazy val root = (project in file(".")). val args = (new File(canon, "FunctionConverters.scala")).toString :: Nil val runTarget = (mainClass in Compile in fnGen).value getOrElse "No main class defined for function conversion generator" val classPath = (fullClasspath in Compile in fnGen).value - toError(runner.value.run(runTarget, classPath.files, args, streams.value.log)) + runner.value.run(runTarget, classPath.files, args, streams.value.log) + .foreach(sys.error) (out ** "*.scala").get }.taskValue,