From b800b38ab2b6b498c12cb66cc1caddb94b00a157 Mon Sep 17 00:00:00 2001 From: Nishant Sikarwar Date: Mon, 2 Jan 2023 06:53:21 +0000 Subject: [PATCH] removed aliasing of 'this' to local variable --- src/git-command-manager.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) }) }