Skip to content

Commit 0e3d63a

Browse files
committed
Bom flag enabled
1 parent 3dd1055 commit 0e3d63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/CSVModule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const logger = require('../helpers/logger');
55

66
class CSVModule {
77
constructor(csvFilePath) {
8-
this.data = parse(fs.readFileSync(csvFilePath), { columns: true });
8+
this.data = parse(fs.readFileSync(csvFilePath), { columns: true, bom: true });
99
}
1010

1111
async get(key, value, fromDate, toDate) {

0 commit comments

Comments
 (0)