mirror of https://github.com/sbt/sbt.git
scalafmt
This commit is contained in:
parent
18505c4a50
commit
914b592fb2
|
|
@ -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(_?) // bspTargetIdentifier might no be defined if the JvmPlugin is disabled
|
.map(_ / Keys.bspTargetIdentifier)
|
||||||
.join.value.flatten
|
.map(_ ?) // bspTargetIdentifier might no be defined if the JvmPlugin is disabled
|
||||||
|
.join
|
||||||
|
.value
|
||||||
|
.flatten
|
||||||
targetIds.zip(scopes).toMap
|
targetIds.zip(scopes).toMap
|
||||||
}
|
}
|
||||||
}.value,
|
}.value,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue