Fix csv output delimiter bug (#6994)

This commit is contained in:
Aditya Manthramurthy 2018-12-18 22:19:06 -08:00 committed by Nitish Tiwari
parent 99b843a64e
commit 2aeb3fbe86

View File

@ -205,7 +205,7 @@ func (reader *cinput) OutputFieldDelimiter() string {
// OutputRecordDelimiter - returns the requested output record delimiter.
func (reader *cinput) OutputRecordDelimiter() string {
return reader.options.OutputFieldDelimiter
return reader.options.OutputRecordDelimiter
}
// HasHeader - returns true or false depending upon the header.