mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-02-03 09:36:16 +00:00
Merge b800b38ab2 into 0c366fd6a8
This commit is contained in:
commit
caecee789e
1 changed files with 2 additions and 4 deletions
|
|
@ -311,9 +311,8 @@ class GitCommandManager {
|
|||
args.push(arg)
|
||||
}
|
||||
|
||||
const that = this
|
||||
await retryHelper.execute(async () => {
|
||||
await that.execGit(args)
|
||||
await this.execGit(args)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -380,9 +379,8 @@ class GitCommandManager {
|
|||
async lfsFetch(ref: string): Promise<void> {
|
||||
const args = ['lfs', 'fetch', 'origin', ref]
|
||||
|
||||
const that = this
|
||||
await retryHelper.execute(async () => {
|
||||
await that.execGit(args)
|
||||
await this.execGit(args)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue