Skip to content

Commit 0b48564

Browse files
committed
in build, avoid method deprecated in sbt 0.13.16
toError is deprecated now. the replacement code is as recommended by the deprecation message
1 parent edd2045 commit 0b48564

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ lazy val root = (project in file(".")).
6565
val args = (new File(canon, "FunctionConverters.scala")).toString :: Nil
6666
val runTarget = (mainClass in Compile in fnGen).value getOrElse "No main class defined for function conversion generator"
6767
val classPath = (fullClasspath in Compile in fnGen).value
68-
toError(runner.value.run(runTarget, classPath.files, args, streams.value.log))
68+
runner.value.run(runTarget, classPath.files, args, streams.value.log)
69+
.foreach(sys.error)
6970
(out ** "*.scala").get
7071
}.taskValue,
7172

0 commit comments

Comments
 (0)