mirror of
https://github.com/actions/checkout.git
synced 2024-11-14 21:18:05 +00:00
Merge 15b44f68ab
into b684943689
This commit is contained in:
commit
5788812922
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -805,7 +805,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() {
|
||||
|
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user