mirror of
https://github.com/actions/checkout.git
synced 2025-11-08 02:38:37 +08:00
Merge 15b44f68ab into 71cf2267d8
This commit is contained in:
commit
8ffbb5266f
5
dist/index.js
vendored
5
dist/index.js
vendored
|
|
@ -985,7 +985,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() {
|
||||
|
|
|
|||
|
|
@ -459,7 +459,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> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user