Undo: move zipped folder from nested layer during cache pull
							parent
							
								
									b688bb100a
								
							
						
					
					
						commit
						4341bf76c0
					
				|  | @ -607,7 +607,7 @@ class Caching { | |||
|                     remote_client_logger_1.RemoteClientLogger.log(`cache item extracted to ${fullDestination}`); | ||||
|                     console_1.assert(`${fs_1.default.existsSync(fullDestination)}`); | ||||
|                     const destinationParentFolder = path_1.default.resolve(destinationFolder, '..'); | ||||
|                     yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${path_1.default.join(fullDestination, path_1.default.basename(destinationFolder))}" "${destinationParentFolder}"`); | ||||
|                     yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationParentFolder}"`); | ||||
|                     if (fs_1.default.existsSync(destinationFolder)) { | ||||
|                         fs_1.default.rmSync(destinationFolder, { recursive: true, force: true }); | ||||
|                     } | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -82,9 +82,7 @@ export class Caching { | |||
|         RemoteClientLogger.log(`cache item extracted to ${fullDestination}`); | ||||
|         assert(`${fs.existsSync(fullDestination)}`); | ||||
|         const destinationParentFolder = path.resolve(destinationFolder, '..'); | ||||
|         await CloudRunnerSystem.Run( | ||||
|           `mv "${path.join(fullDestination, path.basename(destinationFolder))}" "${destinationParentFolder}"`, | ||||
|         ); | ||||
|         await CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationParentFolder}"`); | ||||
|         if (fs.existsSync(destinationFolder)) { | ||||
|           fs.rmSync(destinationFolder, { recursive: true, force: true }); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue