Fix lib caching
parent
43e8b522ae
commit
5e031c9f66
|
|
@ -670,7 +670,7 @@ class SetupRemoteRepository {
|
|||
cloud_runner_logger_1.default.logCli(`Checking if Library cache ${libraryCacheFolder}/${latestLibraryCacheFile} exists`);
|
||||
const latestCacheFilePath = path_1.default.join(libraryCacheFolder, latestLibraryCacheFile);
|
||||
process.chdir(libraryCacheFolder);
|
||||
if (yield SetupRemoteRepository.checkFileExists(latestLibraryCacheFile)) {
|
||||
if (latestLibraryCacheFile !== '') {
|
||||
cloud_runner_logger_1.default.logCli(`Library cache exists`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`unzip -q "${latestCacheFilePath}" -d "$projectPathFull"`);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -133,7 +133,7 @@ export class SetupRemoteRepository {
|
|||
CloudRunnerLogger.logCli(`Checking if Library cache ${libraryCacheFolder}/${latestLibraryCacheFile} exists`);
|
||||
const latestCacheFilePath = path.join(libraryCacheFolder, latestLibraryCacheFile);
|
||||
process.chdir(libraryCacheFolder);
|
||||
if (await SetupRemoteRepository.checkFileExists(latestLibraryCacheFile)) {
|
||||
if (latestLibraryCacheFile !== '') {
|
||||
CloudRunnerLogger.logCli(`Library cache exists`);
|
||||
await RemoteClientSystem.Run(`unzip -q "${latestCacheFilePath}" -d "$projectPathFull"`);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue