Ignore the build ref case

This commit is contained in:
Eugene Yokota 2019-09-30 02:18:11 -04:00
parent d1993bcabb
commit 1cfe14a877
1 changed files with 12 additions and 9 deletions

View File

@ -99,8 +99,9 @@ object Delegates extends Properties {
(key, ds) =>
key.config match {
case Zero => success
case Select(config) if key.project.isSelect =>
val p = key.project.toOption.get
case Select(config) =>
key.project match {
case Select(p @ ProjectRef(_, _)) =>
val r = keys.env.resolve(p)
keys.env.inheritConfig(r, config).headOption.fold(success) { parent =>
val idxKey = ds.indexOf(key)
@ -111,6 +112,8 @@ object Delegates extends Properties {
}
case _ => success
}
case _ => success
}
}
}
)