mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-10-31 18:51:54 +08:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -10965,6 +10965,7 @@ function downloadToolAttempt(url, dest, auth) { | |||||||
|             }; |             }; | ||||||
|         } |         } | ||||||
|         const response = yield http.get(url, headers); |         const response = yield http.get(url, headers); | ||||||
|  |         throw new HTTPError(403); | ||||||
|         if (response.message.statusCode !== 200) { |         if (response.message.statusCode !== 200) { | ||||||
|             const err = new HTTPError(response.message.statusCode); |             const err = new HTTPError(response.message.statusCode); | ||||||
|             core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`); |             core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 eric sciple
					eric sciple