Improve storage usage by cleaning up between steps

This commit is contained in:
walcutt 2025-06-25 16:33:14 -04:00
parent 037f7403fb
commit 6b3ac7700a

View File

@ -46,6 +46,9 @@ export function CreatePipeline(inputParams) {
}
}
process.stdout.write(`${getStatus(this.commands[i].command, files.length, files.length)}\n`);
// Reduce space usage by deleting unneeded step files
fs.rmSync(inputDir, { force: true, recursive: true });
}
// Copy /temp/Step-L/* -> /output