mirror of
https://github.com/actions/setup-go.git
synced 2025-06-28 07:53:43 +00:00
toString
This commit is contained in:
parent
2091469f9f
commit
0dbc7e4965
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ export async function run() {
|
|||
|
||||
// output the version actually being used
|
||||
let goPath = await io.which('go');
|
||||
let goVersion = cp.execSync(`${goPath} version`);
|
||||
let goVersion = (cp.execSync(`${goPath} version`) || '').toString();
|
||||
|
||||
console.log(goVersion);
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue