mirror of
https://github.com/sbt/sbt.git
synced 2026-08-30 09:50:02 +02:00
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:
@@ -1127,7 +1127,6 @@ object NetworkClient {
|
||||
sbtArguments += s"-Dsbt.script=$sbtScript"
|
||||
}
|
||||
}
|
||||
if (!sbtArguments.contains("--server")) sbtArguments += "--server"
|
||||
new Arguments(
|
||||
base,
|
||||
sbtArguments.toSeq,
|
||||
|
||||
Reference in New Issue
Block a user