mirror of https://github.com/sbt/sbt.git
Ignore the build ref case
This commit is contained in:
parent
d1993bcabb
commit
1cfe14a877
|
|
@ -99,8 +99,9 @@ object Delegates extends Properties {
|
||||||
(key, ds) =>
|
(key, ds) =>
|
||||||
key.config match {
|
key.config match {
|
||||||
case Zero => success
|
case Zero => success
|
||||||
case Select(config) if key.project.isSelect =>
|
case Select(config) =>
|
||||||
val p = key.project.toOption.get
|
key.project match {
|
||||||
|
case Select(p @ ProjectRef(_, _)) =>
|
||||||
val r = keys.env.resolve(p)
|
val r = keys.env.resolve(p)
|
||||||
keys.env.inheritConfig(r, config).headOption.fold(success) { parent =>
|
keys.env.inheritConfig(r, config).headOption.fold(success) { parent =>
|
||||||
val idxKey = ds.indexOf(key)
|
val idxKey = ds.indexOf(key)
|
||||||
|
|
@ -111,6 +112,8 @@ object Delegates extends Properties {
|
||||||
}
|
}
|
||||||
case _ => success
|
case _ => success
|
||||||
}
|
}
|
||||||
|
case _ => success
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue