mirror of
				https://github.com/actions/setup-go.git
				synced 2025-11-04 01:06:24 +00:00 
			
		
		
		
	toString
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -1320,7 +1320,7 @@ function run() {
 | 
			
		||||
            console.log(`##[add-matcher]${matchersPath}`);
 | 
			
		||||
            // output the version actually being used
 | 
			
		||||
            let goPath = yield io.which('go');
 | 
			
		||||
            let goVersion = child_process_1.default.execSync(`${goPath} version`);
 | 
			
		||||
            let goVersion = (child_process_1.default.execSync(`${goPath} version`) || '').toString();
 | 
			
		||||
            console.log(goVersion);
 | 
			
		||||
        }
 | 
			
		||||
        catch (error) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user