Logging improvement

pull/310/head
Frostebite 2021-12-27 23:56:45 +00:00
parent 35dae8d9e1
commit ae5f1479a9
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -490,6 +490,7 @@ class Caching {
cacheSelection = latest;
}
if (fs_1.default.existsSync(cacheSelection)) {
yield cloud_runner_agent_system_1.CloudRunnerAgentSystem.Run(`tree ${destinationFolder}`);
cloud_runner_logger_1.default.logCli(`Library cache exists`);
yield cloud_runner_agent_system_1.CloudRunnerAgentSystem.Run(`unzip "${cacheSelection}" -d "${destinationFolder}"`);
console_1.assert(fs_1.default.existsSync(destinationFolder));

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -41,6 +41,7 @@ export class Caching {
cacheSelection = latest;
}
if (fs.existsSync(cacheSelection)) {
await CloudRunnerAgentSystem.Run(`tree ${destinationFolder}`);
CloudRunnerLogger.logCli(`Library cache exists`);
await CloudRunnerAgentSystem.Run(`unzip "${cacheSelection}" -d "${destinationFolder}"`);
assert(fs.existsSync(destinationFolder));