mirror of
https://github.com/actions/checkout.git
synced 2025-12-09 14:15:22 +00:00
Merge b800b38ab2b6b498c12cb66cc1caddb94b00a157 into c2d88d3ecc89a9ef08eebf45d9637801dcee7eb5
This commit is contained in:
commit
f78d20508b
@ -313,9 +313,8 @@ class GitCommandManager {
|
|||||||
args.push(arg)
|
args.push(arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
const that = this
|
|
||||||
await retryHelper.execute(async () => {
|
await retryHelper.execute(async () => {
|
||||||
await that.execGit(args)
|
await this.execGit(args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -382,9 +381,8 @@ class GitCommandManager {
|
|||||||
async lfsFetch(ref: string): Promise<void> {
|
async lfsFetch(ref: string): Promise<void> {
|
||||||
const args = ['lfs', 'fetch', 'origin', ref]
|
const args = ['lfs', 'fetch', 'origin', ref]
|
||||||
|
|
||||||
const that = this
|
|
||||||
await retryHelper.execute(async () => {
|
await retryHelper.execute(async () => {
|
||||||
await that.execGit(args)
|
await this.execGit(args)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user