Skip to content

Commit

Permalink
Merge pull request #711 from adpi2/fix-metals-6382
Browse files Browse the repository at this point in the history
[sbt plugin] check if `debugAdatperClassUpdates` is defined
  • Loading branch information
adpi2 authored May 8, 2024
2 parents e8a4b8d + 4a0a1f9 commit ebbc5ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ private[sbtplugin] object InternalTasks {
val observables = for {
(proj, configs) <- Keys.bspInternalDependencyConfigurations.value
config <- configs
} yield (proj / config / debugAdapterClassUpdates)
} yield (proj / config / debugAdapterClassUpdates).?
Def.setting {
observables.join.value.fold(Observable.empty[Seq[String]])(_ mergeWith _)
observables.join.value.flatten.fold(Observable.empty[Seq[String]])(_ mergeWith _)
}
}

Expand Down

0 comments on commit ebbc5ff

Please sign in to comment.