0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-06-16 14:18:19 +02:00
This commit is contained in:
Nishant Sikarwar 2024-03-21 00:52:22 +01:00 committed by GitHub
commit 49d98b68fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -287,9 +287,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)
}) })
} }
@ -341,9 +340,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)
}) })
} }