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 6cf1536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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
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 6cf1536

Please sign in to comment.