1
0
Fork 0

removed aliasing of 'this' to local variable

pull/1063/head
Nishant Sikarwar 2023-01-02 06:53:21 +00:00 committed by GitHub
parent ac59398561
commit b800b38ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -223,9 +223,8 @@ class GitCommandManager {
args.push(arg)
}
const that = this
await retryHelper.execute(async () => {
await that.execGit(args)
await this.execGit(args)
})
}
@ -277,9 +276,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)
})
}