adjust match for removing automatically generated files
This commit is contained in:
parent
173042d741
commit
80762ad3c9
@ -52,7 +52,7 @@ function sortAndMergeYAMLFiles() {
|
|||||||
|
|
||||||
// Remove any files created by dgp2
|
// Remove any files created by dgp2
|
||||||
files.forEach(file => {
|
files.forEach(file => {
|
||||||
if (file.startsWith('auto-dgp2')) {
|
if (file.startsWith('auto-')) {
|
||||||
fs.unlinkSync(directoryPath + file);
|
fs.unlinkSync(directoryPath + file);
|
||||||
console.log(`Deleted file: ${file}`);
|
console.log(`Deleted file: ${file}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user