File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " csv-file-validator" ,
3- "version" : " 1.10.2 " ,
3+ "version" : " 1.10.3 " ,
44 "description" : " Validation of CSV file against user defined schema (returns back object with data and invalid messages)" ,
55 "main" : " ./src/csv-file-validator.js" ,
66 "repository" : " https://github.com/shystruk/csv-file-validator.git" ,
Original file line number Diff line number Diff line change 144144 if ( duplicates . indexOf ( value ) >= 0 ) {
145145 file . inValidMessages . push (
146146 _isFunction ( header . uniqueError )
147- ? header . uniqueError ( header . name , rowIndex + 1 )
147+ ? header . uniqueError ( header . name , rowIndex + 2 )
148148 : String (
149- header . name + " is not unique at the " + ( rowIndex + 1 ) + "row"
149+ header . name + " is not unique at the " + ( rowIndex + 2 ) + "row"
150150 )
151151 ) ;
152152 } else {
You can’t perform that action at this time.
0 commit comments