mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 20:08:36 +08:00 
			
		
		
		
	Lint
This commit is contained in:
		
							parent
							
								
									866455018b
								
							
						
					
					
						commit
						f37c19eacb
					
				|  | @ -4,7 +4,8 @@ import { BearerCredentialHandler } from "@actions/http-client/auth"; | |||
| import { HttpClient, HttpCodes, ITypedResponse } from "@actions/http-client"; | ||||
| import { | ||||
|     IHttpClientResponse, | ||||
|     IRequestOptions | ||||
|     IRequestOptions, | ||||
|     IHeaders | ||||
| } from "@actions/http-client/interfaces"; | ||||
| import { | ||||
|     ArtifactCacheEntry, | ||||
|  | @ -88,9 +89,7 @@ export async function getCacheEntry( | |||
|         return null; | ||||
|     } | ||||
|     if (!isSuccessStatusCode(response.statusCode)) { | ||||
|         throw new Error( | ||||
|             `Cache service responded with ${response.statusCode}` | ||||
|         ); | ||||
|         throw new Error(`Cache service responded with ${response.statusCode}`); | ||||
|     } | ||||
| 
 | ||||
|     const cacheResult = response.result; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 David Kale
						David Kale