toc-patching #61
@ -52,7 +52,7 @@ function sortAndMergeYAMLFiles() {
|
||||
|
||||
// Remove any files created by dgp2
|
||||
files.forEach(file => {
|
||||
if (file.startsWith('auto-dgp2')) {
|
||||
if (file.startsWith('auto-')) {
|
||||
fs.unlinkSync(directoryPath + file);
|
||||
console.log(`Deleted file: ${file}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user