mirror of
https://github.com/actions/checkout.git
synced 2025-09-10 01:32:25 +08:00
Merge b800b38ab2
into 85e6279cec
This commit is contained in:
@@ -289,9 +289,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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -343,9 +342,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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user