mirror of
https://code.forgejo.org/actions/setup-go
synced 2025-06-09 20:12:23 +02: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