danielgindi/node-csv-reader

trim option not honored if ltrim and rtrim aren't specified

drewed opened this issue · 1 comments

When you set the option trim to true without a value for ltrim or rtrim, the initialization code trim = options.ltrim && options.rtrim will result in undefined. This should be trim = ltrim && rtrim instead.

Thanks!