mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-11-04 12:46:16 +08:00 
			
		
		
		
	Test debug message
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -12344,6 +12344,7 @@ function acquireNode(version) {
 | 
			
		||||
        let downloadUrl = `https://nodejs.org/dist/v${version}/${urlFileName}`;
 | 
			
		||||
        let downloadPath;
 | 
			
		||||
        try {
 | 
			
		||||
            core.info(`Downloading ${downloadUrl}`);
 | 
			
		||||
            downloadPath = yield tc.downloadTool(downloadUrl);
 | 
			
		||||
        }
 | 
			
		||||
        catch (err) {
 | 
			
		||||
 | 
			
		||||
@ -148,6 +148,7 @@ async function acquireNode(version: string): Promise<string> {
 | 
			
		||||
  let downloadPath: string;
 | 
			
		||||
 | 
			
		||||
  try {
 | 
			
		||||
    core.info(`Downloading ${downloadUrl}`);
 | 
			
		||||
    downloadPath = await tc.downloadTool(downloadUrl);
 | 
			
		||||
  } catch (err) {
 | 
			
		||||
    if (err instanceof tc.HTTPError && err.httpStatusCode == 404) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user