toc-patching #61
| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user