Compare commits

...

2 Commits

Author SHA1 Message Date
Nishant Sikarwar 63f52310f4
Merge b800b38ab2 into 12cd2235ef 2026-07-16 12:25:00 +00:00
Nishant Sikarwar b800b38ab2
removed aliasing of 'this' to local variable 2023-01-02 06:53:21 +00:00
1 changed files with 2 additions and 4 deletions

View File

@ -311,9 +311,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)
}) })
} }
@ -386,9 +385,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)
}) })
} }