From 17e0a70de503fa3569f1d2da627d9f88e74e665b Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 2 Nov 2024 21:14:18 +0000 Subject: [PATCH] Update merge script to handle files from dgp2 --- scripts/merge-yaml.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}`); }