mirror of
https://github.com/actions/setup-go.git
synced 2026-10-02 16:26:06 +03:00
toString
This commit is contained in:
1 parent
2091469f9f
commit
0dbc7e4965
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -1320,7 +1320,7 @@ function run() {
|
||||
console.log(`##[add-matcher]${matchersPath}`);
|
||||
// output the version actually being used
|
||||
let goPath = yield io.which('go');
|
||||
let goVersion = child_process_1.default.execSync(`${goPath} version`);
|
||||
let goVersion = (child_process_1.default.execSync(`${goPath} version`) || '').toString();
|
||||
console.log(goVersion);
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
Reference in new issue
Block a user