Fix lib caching

pull/310/head
Frostebite 2021-12-27 17:56:56 +00:00
parent 43e8b522ae
commit 5e031c9f66
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -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"`);
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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 {