Skip to content

Commit

Permalink
Minor doc cleanup and array push inlining
Browse files Browse the repository at this point in the history
  • Loading branch information
happy5214 committed Jun 28, 2024
1 parent 7fb593a commit b070a8d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bids/validator/bidsHedSidecarValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,12 @@ export class BidsHedSidecarValidator {
if (sidecarParsingIssues.length > 0) {
return this.issues
}
const sidecarIssues = [...this._validateStrings(), ...this.validateCurlyBraces()]
this.issues.push(...sidecarIssues)
this.issues.push(...this._validateStrings(), ...this.validateCurlyBraces())
return this.issues
}

/**
* Validate an individual BIDS sidecar's HED strings.
* Validate this sidecar's HED strings.
*
* @returns {BidsIssue[]} All issues found.
*/
Expand Down Expand Up @@ -90,7 +89,7 @@ export class BidsHedSidecarValidator {
}

/**
* Validate an individual BIDS sidecar string.
* Validate an individual string in this sidecar.
*
* @param {string} sidecarKey The sidecar key this string belongs to.
* @param {ParsedHedString} sidecarString The parsed sidecar HED string.
Expand Down

0 comments on commit b070a8d

Please sign in to comment.