Fix lib caching

pull/310/head
Frostebite 2021-12-27 20:23:34 +00:00
parent c64de162ff
commit 3f9ebcb203
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -668,7 +668,7 @@ class SetupRemoteRepository {
process.chdir(libraryCacheFolder);
if (fs_1.default.existsSync(latestLibraryCacheFile)) {
cloud_runner_logger_1.default.logCli(`Library cache exists`);
yield remote_client_system_1.RemoteClientSystem.Run(`unzip -q "${latestLibraryCacheFile}" -d "${cloud_runner_state_1.CloudRunnerState.libraryFolderFull}"`);
yield remote_client_system_1.RemoteClientSystem.Run(`unzip "${latestLibraryCacheFile}" -d "${cloud_runner_state_1.CloudRunnerState.libraryFolderFull}"`);
}
else {
cloud_runner_logger_1.default.logCli(`Library cache doesn't exist`);

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 {
process.chdir(libraryCacheFolder);
if (fs.existsSync(latestLibraryCacheFile)) {
CloudRunnerLogger.logCli(`Library cache exists`);
await RemoteClientSystem.Run(`unzip -q "${latestLibraryCacheFile}" -d "${CloudRunnerState.libraryFolderFull}"`);
await RemoteClientSystem.Run(`unzip "${latestLibraryCacheFile}" -d "${CloudRunnerState.libraryFolderFull}"`);
} else {
CloudRunnerLogger.logCli(`Library cache doesn't exist`);
if (latestLibraryCacheFile !== ``) {