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() {
1320
1320
console . log ( `##[add-matcher]${ matchersPath } ` ) ;
1321
1321
// output the version actually being used
1322
1322
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 ( ) ;
1324
1324
console . log ( goVersion ) ;
1325
1325
}
1326
1326
catch ( error ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export async function run() {
53
53
54
54
// output the version actually being used
55
55
let goPath = await io . which ( 'go' ) ;
56
- let goVersion = cp . execSync ( `${ goPath } version` ) ;
56
+ let goVersion = ( cp . execSync ( `${ goPath } version` ) || '' ) . toString ( ) ;
57
57
58
58
console . log ( goVersion ) ;
59
59
} catch ( error ) {
You can’t perform that action at this time.
0 commit comments