This commit is contained in:
Adrien Piquerez 2020-05-25 09:40:54 +02:00
parent 18505c4a50
commit 914b592fb2
1 changed files with 6 additions and 3 deletions

View File

@ -39,9 +39,12 @@ object BuildServerProtocol {
bspTargetConfigs.toSeq.map(name => Scope.Global.in(ref, ConfigKey(name))) bspTargetConfigs.toSeq.map(name => Scope.Global.in(ref, ConfigKey(name)))
} }
Def.setting { Def.setting {
val targetIds = scopes.map(_ / Keys.bspTargetIdentifier) val targetIds = scopes
.map(_ / Keys.bspTargetIdentifier)
.map(_ ?) // bspTargetIdentifier might no be defined if the JvmPlugin is disabled .map(_ ?) // bspTargetIdentifier might no be defined if the JvmPlugin is disabled
.join.value.flatten .join
.value
.flatten
targetIds.zip(scopes).toMap targetIds.zip(scopes).toMap
} }
}.value, }.value,