Skip to content

Commit a45b4c3

Browse files
committed
add type for file arg and return in docstring for checkStatusCol
1 parent e3526ef commit a45b4c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bids-validator/validators/tsv/checkStatusCol.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ const Issue = require('../../utils').issues.Issue
44
* Checks status column in a electroencephalography _channels.tsv file to
55
* ensure its values are only * 'good', 'bad', or 'n/a'
66
* @param {string[]} rows - Each row of a tsv file to be checked.
7-
* @param file - File of rows being checked, used for error message if
7+
* @param {Object} file - File of rows being checked, used for error message if
88
* problem is found.
99
* @param {Object[]} issues - Array of issue objects to add to if problem is
1010
* found.
11+
* @returns {null} Results of this function are stored in issues.
1112
*/
1213
const checkStatusCol = function(rows, file, issues) {
1314
const header = rows[0]

0 commit comments

Comments
 (0)