diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index 6ab807b..f6ce8e3 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -269,9 +269,8 @@ class GitCommandManager { args.push(arg) } - const that = this await retryHelper.execute(async () => { - await that.execGit(args) + await this.execGit(args) }) } @@ -323,9 +322,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) }) }