JoshClose / CsvHelper

Library to help reading and writing CSV files
http://joshclose.github.io/CsvHelper/
Other
4.65k stars 1.05k forks source link

HeaderValidated Throws an invalid message #2202

Closed MarkEnverus closed 6 months ago

MarkEnverus commented 9 months ago

Describe the bug HeaderValidated has a bug where it repeats the header for as many records are in the header in the ValidationException

To Reproduce Have a header with multiple rows and try to read a CSV without a required header

Expected behavior A proper exception

JoshClose commented 6 months ago

Fixed.