Skip to content

Commit cbe3f5e

Browse files
authored
Merge pull request #529 from nellh/character-reason-types
Move any string output from character -> reason fields.
2 parents aad51c0 + da0a35e commit cbe3f5e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

validators/tsv.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var TSV = function TSV(file, contents, fileList, callback) {
7777
file: file,
7878
evidence: row,
7979
line: i + 1,
80-
character: 'at column # ' + (j + 1),
80+
reason: 'Missing value at column # ' + (j + 1),
8181
code: 23,
8282
}),
8383
)
@@ -95,7 +95,7 @@ var TSV = function TSV(file, contents, fileList, callback) {
9595
file: file,
9696
evidence: row,
9797
line: i + 1,
98-
character: 'at column # ' + (j + 1),
98+
reason: 'Missing value at column # ' + (j + 1),
9999
code: 24,
100100
}),
101101
)
@@ -309,7 +309,7 @@ var checkage89_plus = function(rows, file, issues) {
309309
file: file,
310310
evidence: line,
311311
line: a + 1,
312-
character: 'age of partcipant is above 89 ',
312+
reason: 'age of partcipant is above 89 ',
313313
code: 56,
314314
}),
315315
)
@@ -333,7 +333,7 @@ const checkAcqTimeFormat = function(rows, file, issues) {
333333
file: file,
334334
evidence: file,
335335
line: i + 2,
336-
character: 'acq_time is not in the format YYYY-MM-DDTHH:mm:ss ',
336+
reason: 'acq_time is not in the format YYYY-MM-DDTHH:mm:ss ',
337337
code: 84,
338338
}),
339339
)

0 commit comments

Comments
 (0)