mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-20 17:00:15 +03:00
Compare commits
2 commits
02f5730962
...
e2b6712803
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e2b6712803 | ||
![]() |
15b44f68ab |
2 changed files with 8 additions and 2 deletions
5
dist/index.js
vendored
5
dist/index.js
vendored
|
@ -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() {
|
||||
|
|
|
@ -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 a new issue