Skip to content

Commit

Permalink
Fix for issue where first row has a CRLF new line delimiter and the r…
Browse files Browse the repository at this point in the history
…est of the file is LF
  • Loading branch information
jacomorr22 committed Jan 13, 2025
1 parent a9d2493 commit 648beef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export async function validateCsv(
return new Promise((resolve, reject) => {
Papa.parse(input, {
header: false,
newline: "\n",
// chunkSize: 64 * 1024,
beforeFirstChunk: (chunk) => {
return removeBOM(chunk)
Expand Down

0 comments on commit 648beef

Please sign in to comment.