mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 01:23:34 +00:00 
			
		
		
		
	fix version output
This commit is contained in:
		
							parent
							
								
									6bc15ab23c
								
							
						
					
					
						commit
						2516fdb6ee
					
				
							
								
								
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							@ -73723,7 +73723,7 @@ function getToolVersion(tool, options) {
 | 
			
		||||
                core.warning(`[warning]${stderr}`);
 | 
			
		||||
                return '';
 | 
			
		||||
            }
 | 
			
		||||
            return stdout;
 | 
			
		||||
            return stdout.trim();
 | 
			
		||||
        }
 | 
			
		||||
        catch (err) {
 | 
			
		||||
            return '';
 | 
			
		||||
 | 
			
		||||
@ -132,7 +132,7 @@ async function getToolVersion(tool: string, options: string[]) {
 | 
			
		||||
      return '';
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return stdout;
 | 
			
		||||
    return stdout.trim();
 | 
			
		||||
  } catch (err) {
 | 
			
		||||
    return '';
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user