Skip to content

Conversation

@nlf
Copy link
Contributor

@nlf nlf commented Jul 28, 2022

when we examine override references, if we look at only this.from.root.package the root could actually be a virtual one. in order to ensure we resolve references from the real root, we instead need to look at this.from.sourceReference.root.package to get the correct value.

closes #4395

… for overrides

when we examine override references, if we look at only `this.from.root.package` the root could actually be a virtual one. in order to ensure we resolve references from the real root, we instead need to look at `this.from.sourceReference.root.package` to get the correct value.

closes #4395
@nlf nlf merged commit 47cc95d into latest Aug 1, 2022
@nlf nlf deleted the nlf/fix-override-ref-with-virtual-root branch August 1, 2022 18:11
@nlf nlf mentioned this pull request Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] certain combinations of $ref overrides cause "ERR! Unable to resolve reference" from arborist

2 participants