diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index 01aedfe..755d081 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -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 { const args = ['lfs', 'fetch', 'origin', ref] - const that = this await retryHelper.execute(async () => { - await that.execGit(args) + await this.execGit(args) }) }