Skip to content

Commit

Permalink
Pass options object to formatFiles.
Browse files Browse the repository at this point in the history
Fixes issue with some types of issues not printing verbosely.
  • Loading branch information
rwblair authored Sep 10, 2024
1 parent b174bb1 commit 5083480
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 5083480

Please sign in to comment.