Fixes issue #846 by eliminating empty lines during import. (#951)

This commit is contained in:
Aaron Eiche
2023-04-23 12:38:32 -07:00
committed by GitHub
parent 43cd6b6347
commit e036397614
2 changed files with 7 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ async function parseCSV(filepath, options: { delimiter?: string } = {}) {
quote: '"',
trim: true,
relax_column_count: true,
skip_empty_lines: true,
});
} catch (err) {
errors.push({

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [aaroneiche]
---
Forces CSV importer to ignore extra lines ensuring valid import field keys.