We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c52a671 + a2443cb commit 09222a7Copy full SHA for 09222a7
bids-validator/src/files/inheritance.ts
@@ -33,10 +33,12 @@ export function* walkBack(
33
exactMatch.viewed = true
34
yield exactMatch
35
} else {
36
+ const paths = candidates.map((x) => x.path).sort()
37
throw {
38
code: 'MULTIPLE_INHERITABLE_FILES',
- location: source.path,
39
- affects: candidates.map((file) => file.path),
+ location: paths[0],
40
+ affects: source.path,
41
+ issueMessage: `Candidate files: ${paths}`,
42
}
43
44
} else if (candidates.length === 1) {
0 commit comments