mirror of https://github.com/sbt/sbt.git
trim internal dependency configs in BSP
This commit is contained in:
parent
778264a319
commit
15178b3ef7
|
|
@ -331,7 +331,7 @@ object BuildServerProtocol {
|
||||||
private def internalDependencyConfigurationsSetting = Def.settingDyn {
|
private def internalDependencyConfigurationsSetting = Def.settingDyn {
|
||||||
val directDependencies = Keys.internalDependencyConfigurations.value.map {
|
val directDependencies = Keys.internalDependencyConfigurations.value.map {
|
||||||
case (project, rawConfigs) =>
|
case (project, rawConfigs) =>
|
||||||
val configs = rawConfigs.flatMap(_.split(",")).map(ConfigKey.apply)
|
val configs = rawConfigs.flatMap(_.split(",")).map(name => ConfigKey(name.trim))
|
||||||
(project, configs)
|
(project, configs)
|
||||||
}
|
}
|
||||||
val ref = Keys.thisProjectRef.value
|
val ref = Keys.thisProjectRef.value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue