mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 16:03:35 +00:00 
			
		
		
		
	removed aliasing of 'this' to local variable
This commit is contained in:
		
							parent
							
								
									ac59398561
								
							
						
					
					
						commit
						b800b38ab2
					
				| @ -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<void> { | ||||
|     const args = ['lfs', 'fetch', 'origin', ref] | ||||
| 
 | ||||
|     const that = this | ||||
|     await retryHelper.execute(async () => { | ||||
|       await that.execGit(args) | ||||
|       await this.execGit(args) | ||||
|     }) | ||||
|   } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user