Skip to content

Commit

Permalink
chore: Fix after rename in scala-debug-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed May 21, 2024
1 parent f48f5d6 commit 8501d64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object Dependencies {
def nailgun = ivy"io.github.alexarchambault.bleep:nailgun-server:1.0.7"
def osLib = ivy"com.lihaoyi::os-lib:0.9.0"
def pprint = ivy"com.lihaoyi::pprint:0.9.0"
def sbtTestAgent = ivy"org.scala-sbt:test-agent:1.9.10"
def sbtTestAgent = ivy"org.scala-sbt:test-agent:1.10.0"
def sbtTestInterface = ivy"org.scala-sbt:test-interface:1.0"
def scalaDebugAdapter = ivy"ch.epfl.scala::scala-debug-adapter:4.1.1"
def scalaJsLinker1 = ivy"org.scala-js::scalajs-linker:$scalaJs1Version"
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/main/scala/bloop/bsp/BloopBspServices.scala
Original file line number Diff line number Diff line change
Expand Up @@ -682,11 +682,10 @@ final class BloopBspServices(
val dapLogger = new DebugServerLogger(logger)
val resolver = new BloopDebugToolsResolver(logger)
val handler =
DebugServer.start(
DebugServer.run(
debuggee,
resolver,
dapLogger,
autoCloseSession = true,
gracePeriod = Duration(5, TimeUnit.SECONDS)
)(ioScheduler)
val listenAndUnsubscribe = Task
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sbt.version=1.9.10
sbt.version=1.10.9

2 changes: 1 addition & 1 deletion frontend/src/test/scala/bloop/dap/DebugServerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ object DebugServerSpec extends DebugBspBaseSuite {

val config = DebugConfig.default.copy(gracePeriod = gracePeriod)
val server = DebugServer(debuggee, resolver, dapLogger, config = config)(defaultScheduler)
Task.fromFuture(server.start()).runAsync(defaultScheduler)
Task.fromFuture(server.run()).runAsync(defaultScheduler)

val testServer = new TestServer(server)
f(testServer)
Expand Down

0 comments on commit 8501d64

Please sign in to comment.