Skip to content

Commit

Permalink
csv file save tips
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohec committed Oct 29, 2024
1 parent 7fe617b commit d6b1a8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion back/src/scripts/triggerImportProConnectExternalIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const executeUsecase = async (): Promise<{
inclusion_connect_sub: string | null;
}[];
}> => {
const path = "../import_CSV_proconnect.csv";
const filename = "import_CSV_proconnect.csv"; // CSV file to save in immersion-facile root project folder
const path = `../${filename}`;
const rawFile = await readFile(resolve(path), { encoding: "utf8" });

logger.info({ message: `START - Parsing CSV on path ${path}.` });
Expand Down

0 comments on commit d6b1a8a

Please sign in to comment.