mirror of
https://github.com/actions/checkout.git
synced 2024-12-27 14:28:02 +08:00
Merge b800b38ab2b6b498c12cb66cc1caddb94b00a157 into cbb722410c2e876e24abbe8de2cc27693e501dcb
This commit is contained in:
commit
878b21d595
@ -289,9 +289,8 @@ class GitCommandManager {
|
||||
args.push(arg)
|
||||
}
|
||||
|
||||
const that = this
|
||||
await retryHelper.execute(async () => {
|
||||
await that.execGit(args)
|
||||
await this.execGit(args)
|
||||
})
|
||||
}
|
||||
|
||||
@ -343,9 +342,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…
x
Reference in New Issue
Block a user