Compare commits

...

2 Commits

Author SHA1 Message Date
Allen Blaylock
6cf005d72f
Merge 15b44f68abcde9a74fe4e46a12b5134e84a3c6a1 into 3b9b8c884f6b4bb4d5be2779c26374abadae0871 2024-11-08 15:29:31 -10:00
Allen Blaylock
15b44f68ab Added retry to submodule cloning 2024-03-01 15:48:13 -07:00
2 changed files with 8 additions and 2 deletions

5
dist/index.js vendored
View File

@ -803,7 +803,10 @@ class GitCommandManager {
if (recursive) {
args.push('--recursive');
}
yield this.execGit(args);
const that = this;
yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {
yield that.execGit(args);
}));
});
}
submoduleStatus() {

View File

@ -420,7 +420,10 @@ class GitCommandManager {
args.push('--recursive')
}
await this.execGit(args)
const that = this
await retryHelper.execute(async () => {
await that.execGit(args)
})
}
async submoduleStatus(): Promise<boolean> {