diff --git a/src/scripts/runFundingPotService.ts b/src/scripts/runFundingPotService.ts index 63f26ad11..fb6c29401 100644 --- a/src/scripts/runFundingPotService.ts +++ b/src/scripts/runFundingPotService.ts @@ -84,6 +84,17 @@ async function generateBatchFile(batchNumber: number) { await fs.writeJson(batchFilePath, batchConfig, { spaces: 2 }); console.info(`Batch config successfully written to ${batchFilePath}`); + + const outputFilePath = path.join( + repoLocalDir, + 'data', + 'production', + 'output', + '.keep', + ); + + // create output directory for reports + ensureDirectoryExists(path.dirname(outputFilePath)); } async function fillProjectsData() {