more messaging
This commit is contained in:
		
							parent
							
								
									5d7f9cd8bc
								
							
						
					
					
						commit
						70002b2ba7
					
				| @ -49,6 +49,8 @@ export function CreatePipeline(inputParams) { | ||||
|             } | ||||
| 
 | ||||
|             // Copy /temp/Step-L/* -> /output
 | ||||
|             console.log(`Copying to ${Folders.OUTPUT} ...`); | ||||
| 
 | ||||
|             if(fs.existsSync(Folders.OUTPUT)) { | ||||
|                 fs.rmSync(Folders.OUTPUT, { recursive: true, force: true }); | ||||
|             } | ||||
| @ -56,6 +58,7 @@ export function CreatePipeline(inputParams) { | ||||
|             fs.cpSync(getTempFolderName(this.commands.length), Folders.OUTPUT, { recursive: true }); | ||||
| 
 | ||||
|             // remove /temp/*
 | ||||
|             console.log('Cleaning up temporary files'); | ||||
|             fs.rmSync(Folders.TEMP, { recursive: true, force: true }); | ||||
|         }, | ||||
|     }; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user