We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2639b0c commit f790e58Copy full SHA for f790e58
packages/cli/src/utils.ts
@@ -630,7 +630,13 @@ export const logger = {
630
631
export const parseCsvFile = async function (file: string): Promise<string[][]> {
632
return await new Promise(function (resolve, reject) {
633
- const parser = parse();
+ // custom parsing
634
+ const parserOptions = {
635
+ skipEmptyLines: true,
636
+ trim: true,
637
+ };
638
+
639
+ const parser = parse(parserOptions);
640
const rows: any[] = [];
641
642
parser.on("readable", function () {
0 commit comments