diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index fa50321..59087e3 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -287,9 +287,8 @@ class GitCommandManager { args.push(arg) } - const that = this await retryHelper.execute(async () => { - await that.execGit(args) + await this.execGit(args) }) } @@ -341,9 +340,8 @@ class GitCommandManager { async lfsFetch(ref: string): Promise { const args = ['lfs', 'fetch', 'origin', ref] - const that = this await retryHelper.execute(async () => { - await that.execGit(args) + await this.execGit(args) }) }