Skip to content

Commit

Permalink
Merge pull request #174 from VisLab/master
Browse files Browse the repository at this point in the history
Corrected COMMA MISSING hedCode to be COMMA_MISSING
  • Loading branch information
VisLab authored Aug 23, 2024
2 parents eda4601 + 362ca37 commit 7b5d3a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/issues/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default {
message: stringTemplate`Extra delimiter "${'character'}" at index ${'index'} of string "${'string'}".`,
},
commaMissing: {
hedCode: 'COMMA MISSING',
hedCode: 'COMMA_MISSING',
level: 'error',
message: stringTemplate`Comma missing after - "${'tag'}".`,
},
Expand Down
2 changes: 1 addition & 1 deletion converter/__tests__/converter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('HED string conversion', () => {
* @param {Object<string, string>} expectedResults The expected results.
* @param {Object<string, Issue[]>} expectedIssues The expected issues.
* @param {function (Schema, string): [string, Issue[]]} testFunction The test function.
* @returns {Promise<void>}
* @returns {Promise}
*/
const validatorBase = async function (testStrings, expectedResults, expectedIssues, testFunction) {
for (const [testStringKey, testString] of Object.entries(testStrings)) {
Expand Down

0 comments on commit 7b5d3a1

Please sign in to comment.