File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
modules/build/src/main/scala/scala/build/bsp Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,6 @@ class BspServer(
59
59
sys.exit(1 )
60
60
}
61
61
62
- private def maybeUpdateProjectTargetUri (res : b.WorkspaceBuildTargetsResult ): Unit =
63
- for {
64
- (_, n) <- projectNames.iterator
65
- if n.targetUriOpt.isEmpty
66
- target <- res.getTargets.asScala.iterator.find(_.getDisplayName == n.name)
67
- } n.targetUriOpt = Some (target.getId.getUri)
68
-
69
62
private def stripInvalidTargets (params : b.WorkspaceBuildTargetsResult ): Unit = {
70
63
val updatedTargets = params
71
64
.getTargets
@@ -272,7 +265,6 @@ class BspServer(
272
265
273
266
override def workspaceBuildTargets (): CompletableFuture [b.WorkspaceBuildTargetsResult ] =
274
267
super .workspaceBuildTargets().thenApply { res =>
275
- maybeUpdateProjectTargetUri(res)
276
268
val res0 = res.duplicate()
277
269
stripInvalidTargets(res0)
278
270
for (target <- res0.getTargets.asScala) {
You can’t perform that action at this time.
0 commit comments