We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9172e56 commit d644768Copy full SHA for d644768
src/shadow/arborist.ts
@@ -337,6 +337,9 @@ function doOverrideSetsConflict(
337
first: OverrideSetClass | undefined,
338
second: OverrideSetClass | undefined
339
) {
340
+ // If override sets contain one another then we can try to use the more specific
341
+ // one. However, if neither one is more specific, then we consider them to be
342
+ // in conflict.
343
return findSpecificOverrideSet(first, second) === undefined
344
}
345
@@ -386,6 +389,7 @@ function findSpecificOverrideSet(
386
389
387
390
overrideSet = overrideSet.parent
388
391
392
+ // The override sets are incomparable. Neither one contains the other.
393
log!.silly('Conflicting override sets', first, second)
394
return undefined
395
0 commit comments