tree cache push directory
parent
cf733fd1b7
commit
c875c0c3e8
|
|
@ -3861,7 +3861,7 @@ class Caching {
|
|||
}
|
||||
const contents = yield fs_1.default.promises.readdir(path_1.default.basename(sourceFolder));
|
||||
cloud_runner_logger_1.default.log(`There is ${contents.length} files/dir in the source folder ${path_1.default.basename(sourceFolder)}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree -L 2`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree -L 3 ./..`);
|
||||
if (contents.length === 0) {
|
||||
cloud_runner_logger_1.default.log(`Did not push source folder to cache because it was empty ${path_1.default.basename(sourceFolder)}`);
|
||||
process.chdir(`${startPath}`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -63,7 +63,7 @@ export class Caching {
|
|||
CloudRunnerLogger.log(
|
||||
`There is ${contents.length} files/dir in the source folder ${path.basename(sourceFolder)}`,
|
||||
);
|
||||
await CloudRunnerSystem.Run(`tree -L 2`);
|
||||
await CloudRunnerSystem.Run(`tree -L 3 ./..`);
|
||||
|
||||
if (contents.length === 0) {
|
||||
CloudRunnerLogger.log(
|
||||
|
|
|
|||
Loading…
Reference in New Issue