Update merge script to handle files from dgp2
All checks were successful
Generate Release / validate_and_release (push) Successful in 9s

This commit is contained in:
Fred Boniface 2024-11-02 21:14:18 +00:00
parent 9a2d739189
commit 17e0a70de5

View File

@ -50,8 +50,9 @@ function sortAndMergeYAMLFiles() {
console.error("Error writing gw.pis", err) console.error("Error writing gw.pis", err)
} }
// Remove any files created by dgp2
files.forEach(file => { files.forEach(file => {
if (file.startsWith('dg_parser')) { if (file.startsWith('auto-dgp2')) {
fs.unlinkSync(directoryPath + file); fs.unlinkSync(directoryPath + file);
console.log(`Deleted file: ${file}`); console.log(`Deleted file: ${file}`);
} }