mirror of
https://github.com/actions/setup-go.git
synced 2025-05-22 02:22:24 +00:00
toString
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user