mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-24 21:15:38 +01:00
lint
This commit is contained in:
parent
f32657ccaf
commit
2091469f9f
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1321,7 +1321,7 @@ function run() {
|
|||||||
// output the version actually being used
|
// output the version actually being used
|
||||||
let goPath = yield io.which('go');
|
let goPath = yield io.which('go');
|
||||||
let goVersion = child_process_1.default.execSync(`${goPath} version`);
|
let goVersion = child_process_1.default.execSync(`${goPath} version`);
|
||||||
console.log('Using go version ');
|
console.log(goVersion);
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
|
Loading…
Reference in New Issue
Block a user