diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index 7752cfa..526c21a 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -278,9 +278,8 @@ class GitCommandManager { args.push(arg) } - const that = this await retryHelper.execute(async () => { - await that.execGit(args) + await this.execGit(args) }) } @@ -332,9 +331,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) }) }