Skip to content

Commit

Permalink
Merge pull request #2132 from bids-standard/rwblair-patch-1
Browse files Browse the repository at this point in the history
Pass options object to all formatFiles calls in formatIssues
  • Loading branch information
rwblair committed Sep 10, 2024
2 parents b174bb1 + 5083480 commit 1b24b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids-validator/src/utils/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function formatIssues(

const subCodes = issues.groupBy('subCode')
if (subCodes.size === 1 && subCodes.has('None')) {
output.push(...formatFiles(issues))
output.push(...formatFiles(issues, options))
} else {
for (const [subCode, subIssues] of subCodes) {
if (subIssues.size === 0) {
Expand Down

0 comments on commit 1b24b65

Please sign in to comment.