Skip to content

Commit

Permalink
FIX: exists(null, ...) == 0
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 12, 2023
1 parent bf520bf commit e629872
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bids-validator/src/schema/expressionLanguage.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
function exists(list: string[], rule: string = 'dataset'): number {
if (list == null) {
return 0
}

const prefix: string[] = []

// Stimuli and subject-relative paths get prefixes
Expand Down

0 comments on commit e629872

Please sign in to comment.