diff --git a/scripts/merge-yaml.js b/scripts/merge-yaml.js index 045d793..1dc522e 100644 --- a/scripts/merge-yaml.js +++ b/scripts/merge-yaml.js @@ -50,8 +50,9 @@ function sortAndMergeYAMLFiles() { console.error("Error writing gw.pis", err) } + // Remove any files created by dgp2 files.forEach(file => { - if (file.startsWith('dg_parser')) { + if (file.startsWith('auto-dgp2')) { fs.unlinkSync(directoryPath + file); console.log(`Deleted file: ${file}`); }