mirror of
https://github.com/actions/setup-go
synced 2024-11-09 23:22:41 +00:00
removed unneeded console.log
This commit is contained in:
parent
87e783e981
commit
6b10398c43
2 changed files with 0 additions and 8 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -4582,9 +4582,6 @@ function downloadGo(versionSpec, stable) {
|
||||||
let toolPath;
|
let toolPath;
|
||||||
try {
|
try {
|
||||||
let match = yield findMatch(versionSpec, stable);
|
let match = yield findMatch(versionSpec, stable);
|
||||||
if (match) {
|
|
||||||
console.log('match', match.version);
|
|
||||||
}
|
|
||||||
if (match) {
|
if (match) {
|
||||||
// download
|
// download
|
||||||
core_1.debug(`match ${match.version}`);
|
core_1.debug(`match ${match.version}`);
|
||||||
|
@ -4622,7 +4619,6 @@ function findMatch(versionSpec, stable) {
|
||||||
let goFile;
|
let goFile;
|
||||||
for (let i = 0; i < candidates.length; i++) {
|
for (let i = 0; i < candidates.length; i++) {
|
||||||
let candidate = candidates[i];
|
let candidate = candidates[i];
|
||||||
console.log(JSON.stringify(candidate, null, 2));
|
|
||||||
let version = candidate.version.replace('go', '');
|
let version = candidate.version.replace('go', '');
|
||||||
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
|
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
|
||||||
// since a semver of 1.13 would match latest 1.13
|
// since a semver of 1.13 would match latest 1.13
|
||||||
|
|
|
@ -13,9 +13,6 @@ export async function downloadGo(
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let match: IGoVersion | undefined = await findMatch(versionSpec, stable);
|
let match: IGoVersion | undefined = await findMatch(versionSpec, stable);
|
||||||
if (match) {
|
|
||||||
console.log('match', match.version);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (match) {
|
if (match) {
|
||||||
// download
|
// download
|
||||||
|
@ -74,7 +71,6 @@ export async function findMatch(
|
||||||
let goFile: IGoVersionFile | undefined;
|
let goFile: IGoVersionFile | undefined;
|
||||||
for (let i = 0; i < candidates.length; i++) {
|
for (let i = 0; i < candidates.length; i++) {
|
||||||
let candidate: IGoVersion = candidates[i];
|
let candidate: IGoVersion = candidates[i];
|
||||||
console.log(JSON.stringify(candidate, null, 2));
|
|
||||||
let version = candidate.version.replace('go', '');
|
let version = candidate.version.replace('go', '');
|
||||||
|
|
||||||
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
|
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
|
||||||
|
|
Loading…
Reference in a new issue