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 68c5f65 commit e6abc84Copy full SHA for e6abc84
src/files/inheritance.ts
@@ -50,7 +50,7 @@ export function* walkBack<T extends string[]>(
50
if (candidates.length > 1) {
51
const exactMatch = candidates.find((file) => {
52
const { entities } = readEntities(file.name)
53
- return Object.keys(sourceParts.entities).every((entity) =>
+ return [...Object.keys(sourceParts.entities), ...targetEntities].every((entity) =>
54
entities[entity] === sourceParts.entities[entity]
55
)
56
})
0 commit comments