mirror of
https://github.com/actions/checkout.git
synced 2025-12-16 22:49:00 +08:00
Compare commits
2 Commits
09e7179378
...
895e702288
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
895e702288 | ||
|
|
15b44f68ab |
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -985,7 +985,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() {
|
||||||
|
|||||||
@ -459,7 +459,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> {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user