Zipping within js code rather than linux pkgs
parent
b3c33a40b8
commit
7596121912
|
|
@ -610,7 +610,7 @@ class Caching {
|
|||
}
|
||||
remote_client_logger_1.RemoteClientLogger.log(`cache item exists`);
|
||||
console_1.assert(`${fs_1.default.existsSync(destinationFolder)}`);
|
||||
yield extract_zip_1.default(cacheSelection, { dir: path_1.default.basename(destinationFolder) });
|
||||
yield extract_zip_1.default(cacheSelection, { dir: `${path_1.default.basename(destinationFolder)}/` });
|
||||
process.chdir(path_1.default.basename(destinationFolder));
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${path_1.default.basename(destinationFolder)}/*" "${destinationFolder}/.."`);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -95,7 +95,7 @@ export class Caching {
|
|||
}
|
||||
RemoteClientLogger.log(`cache item exists`);
|
||||
assert(`${fs.existsSync(destinationFolder)}`);
|
||||
await extract(cacheSelection, { dir: path.basename(destinationFolder) });
|
||||
await extract(cacheSelection, { dir: `${path.basename(destinationFolder)}/` });
|
||||
process.chdir(path.basename(destinationFolder));
|
||||
await CloudRunnerSystem.Run(`mv "${path.basename(destinationFolder)}/*" "${destinationFolder}/.."`);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue