Skip to content

Commit

Permalink
🐛 restore empty line skipping for parseDelimited
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Nov 8, 2024
1 parent ed92b59 commit c510e3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@ourworldindata/core-table/src/CoreTableUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ export const parseDelimited = (
const result = Papa.parse(str, {
delimiter: delimiter ?? detectDelimiter(str),
header: true,
skipEmptyLines: true,
transformHeader: (header: string) => header.trim(),
transform: (value: string) => value.trim(),
})
Expand Down

0 comments on commit c510e3c

Please sign in to comment.