Debug cache extract
							parent
							
								
									816a30f7e4
								
							
						
					
					
						commit
						cb73f02a05
					
				|  | @ -635,7 +635,7 @@ class Caching { | ||||||
|                     fs_1.default.createReadStream(`${path_1.default.join(fullDestination, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory })); |                     fs_1.default.createReadStream(`${path_1.default.join(fullDestination, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory })); | ||||||
|                     remote_client_logger_1.RemoteClientLogger.log(`cache item extracted to ${fullDestination}`); |                     remote_client_logger_1.RemoteClientLogger.log(`cache item extracted to ${fullDestination}`); | ||||||
|                     console_1.assert(`${fs_1.default.existsSync(fullDestination)}`); |                     console_1.assert(`${fs_1.default.existsSync(fullDestination)}`); | ||||||
|                     yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationFolder}"`); |                     yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv -v "${fullDestination}/*" "${destinationFolder}"`); | ||||||
|                     fs_1.default.rmdirSync(fullDestination); |                     fs_1.default.rmdirSync(fullDestination); | ||||||
|                 } |                 } | ||||||
|                 else { |                 else { | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -110,7 +110,7 @@ export class Caching { | ||||||
|         ); |         ); | ||||||
|         RemoteClientLogger.log(`cache item extracted to ${fullDestination}`); |         RemoteClientLogger.log(`cache item extracted to ${fullDestination}`); | ||||||
|         assert(`${fs.existsSync(fullDestination)}`); |         assert(`${fs.existsSync(fullDestination)}`); | ||||||
|         await CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationFolder}"`); |         await CloudRunnerSystem.Run(`mv -v "${fullDestination}/*" "${destinationFolder}"`); | ||||||
|         fs.rmdirSync(fullDestination); |         fs.rmdirSync(fullDestination); | ||||||
|       } else { |       } else { | ||||||
|         RemoteClientLogger.logWarning(`cache item ${cacheKey} doesn't exist ${destinationFolder}`); |         RemoteClientLogger.logWarning(`cache item ${cacheKey} doesn't exist ${destinationFolder}`); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue