0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-06-26 15:58:20 +02:00
This commit is contained in:
Allen Blaylock 2024-05-02 15:48:37 +02:00 committed by GitHub
commit 43a5b65228
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

5
dist/index.js vendored
View file

@ -805,7 +805,10 @@ class GitCommandManager {
if (recursive) { if (recursive) {
args.push('--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() { submoduleStatus() {

View file

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