Skip to content

Commit 1ee65e9

Browse files
authored
fix: strip the UTF8 BOM (#85)
We read the input file as UTF8, and in csv-parse documentation is written "It is recommended to always activate this option when working with UTF-8 files."
1 parent c5cacf7 commit 1ee65e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

import.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const importFile = (octokit, file, values) => {
1313
data,
1414
{
1515
trim: true,
16+
bom: true,
1617
},
1718
(err, csvRows) => {
1819
if (err) throw err;

0 commit comments

Comments
 (0)