mirror of https://github.com/sbt/sbt.git
fix: Fixes BSP
**Problem** Calling -bsp with --sbt-launch-jar causes "Unrecognized option: --server". This is because --server is passed in twice since $7775 **Solution** Since the server invocation by BSP client already passes in --server, we can remove the extra --server append.
This commit is contained in:
parent
36fb500f8c
commit
0b01ed4743
|
|
@ -1127,7 +1127,6 @@ object NetworkClient {
|
|||
sbtArguments += s"-Dsbt.script=$sbtScript"
|
||||
}
|
||||
}
|
||||
if (!sbtArguments.contains("--server")) sbtArguments += "--server"
|
||||
new Arguments(
|
||||
base,
|
||||
sbtArguments.toSeq,
|
||||
|
|
|
|||
Loading…
Reference in New Issue