mirror of https://github.com/sbt/sbt.git
Merge pull request #6401 from adpi2/fix-6176
Sanitize sbt-launch-jar in BSP connection details
This commit is contained in:
commit
2e930987e1
|
|
@ -28,6 +28,7 @@ object BuildServerConnection {
|
|||
val sbtLaunchJar = classPath
|
||||
.split(File.pathSeparator)
|
||||
.find(jar => SbtLaunchJar.findFirstIn(jar).nonEmpty)
|
||||
.map(_.replaceAllLiterally(" ", "%20"))
|
||||
val argv =
|
||||
Vector(
|
||||
s"$javaHome/bin/java",
|
||||
|
|
|
|||
Loading…
Reference in New Issue