We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f9ab5e commit 8d6fe78Copy full SHA for 8d6fe78
build.sbt
@@ -84,7 +84,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
84
) ++ {
85
// http://stackoverflow.com/questions/16934488
86
Option(System.getProperty("sun.boot.class.path")).flatMap { classPath =>
87
- classPath.split(java.io.File.pathSeparator).filter(_.endsWith(java.io.File.separator + "rt.jar")).headOption
+ classPath.split(java.io.File.pathSeparator).find(_.endsWith(java.io.File.separator + "rt.jar"))
88
}.map { jarPath =>
89
Map(
90
file(jarPath)
0 commit comments