mirror of
https://github.com/actions/setup-go.git
synced 2025-06-19 20:07:12 +02: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