mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2026-08-27 20:44:57 -04: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…
Reference in a new issue