mirror of
https://github.com/actions/checkout.git
synced 2024-11-14 14:18:03 +00:00
Merge b800b38ab2
into 6d193bf280
This commit is contained in:
commit
f658780d0b
@ -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…
Reference in New Issue
Block a user