File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1320,7 +1320,7 @@ function run() {
13201320 console . log ( `##[add-matcher]${ matchersPath } ` ) ;
13211321 // output the version actually being used
13221322 let goPath = yield io . which ( 'go' ) ;
1323- let goVersion = child_process_1 . default . execSync ( `${ goPath } version` ) ;
1323+ let goVersion = ( child_process_1 . default . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
13241324 console . log ( goVersion ) ;
13251325 }
13261326 catch ( error ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export async function run() {
5353
5454 // output the version actually being used
5555 let goPath = await io . which ( 'go' ) ;
56- let goVersion = cp . execSync ( `${ goPath } version` ) ;
56+ let goVersion = ( cp . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
5757
5858 console . log ( goVersion ) ;
5959 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments