mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-31 23:43:33 +00:00 
			
		
		
		
	suppress warnings
This commit is contained in:
		
							parent
							
								
									87063ef0ad
								
							
						
					
					
						commit
						d8619e6d5a
					
				
							
								
								
									
										5
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							| @ -100516,10 +100516,6 @@ class OfficialBuilds extends base_distribution_1.default { | ||||
|                 try { | ||||
|                     core.info(`Attempting to download using mirror URL...`); | ||||
|                     downloadPath = yield this.downloadFromMirrorURL(); // Attempt to download from the mirror
 | ||||
|                     core.info('downloadPath from downloadFromMirrorURL() ' + downloadPath); | ||||
|                     if (downloadPath) { | ||||
|                         const toolPath = downloadPath; | ||||
|                     } | ||||
|                 } | ||||
|                 catch (err) { | ||||
|                     core.setFailed(err.message); | ||||
| @ -100528,7 +100524,6 @@ class OfficialBuilds extends base_distribution_1.default { | ||||
|                 } | ||||
|             } | ||||
|             else { | ||||
|                 core.info('No mirror URL found. Falling back to default setup...'); | ||||
|                 core.info('Setup Node.js'); | ||||
|                 let manifest; | ||||
|                 let nodeJsVersions; | ||||
|  | ||||
| @ -21,17 +21,12 @@ export default class OfficialBuilds extends BaseDistribution { | ||||
|       try { | ||||
|         core.info(`Attempting to download using mirror URL...`); | ||||
|         downloadPath = await this.downloadFromMirrorURL(); // Attempt to download from the mirror
 | ||||
|         core.info('downloadPath from downloadFromMirrorURL() ' + downloadPath); | ||||
|         if (downloadPath) { | ||||
|           const toolPath = downloadPath; | ||||
|         } | ||||
|       } catch (err) { | ||||
|         core.setFailed((err as Error).message); | ||||
|         core.setFailed('Download failed'); | ||||
|         core.debug((err as Error).stack ?? 'empty stack'); | ||||
|       } | ||||
|     } else { | ||||
|       core.info('No mirror URL found. Falling back to default setup...'); | ||||
|       core.info('Setup Node.js'); | ||||
|       let manifest: tc.IToolRelease[] | undefined; | ||||
|       let nodeJsVersions: INodeVersion[] | undefined; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user