Skip to content

Commit 6b10398

Browse files
removed unneeded console.log
1 parent 87e783e commit 6b10398

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

dist/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4582,9 +4582,6 @@ function downloadGo(versionSpec, stable) {
45824582
let toolPath;
45834583
try {
45844584
let match = yield findMatch(versionSpec, stable);
4585-
if (match) {
4586-
console.log('match', match.version);
4587-
}
45884585
if (match) {
45894586
// download
45904587
core_1.debug(`match ${match.version}`);
@@ -4622,7 +4619,6 @@ function findMatch(versionSpec, stable) {
46224619
let goFile;
46234620
for (let i = 0; i < candidates.length; i++) {
46244621
let candidate = candidates[i];
4625-
console.log(JSON.stringify(candidate, null, 2));
46264622
let version = candidate.version.replace('go', '');
46274623
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0
46284624
// since a semver of 1.13 would match latest 1.13

src/installer.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ export async function downloadGo(
1313

1414
try {
1515
let match: IGoVersion | undefined = await findMatch(versionSpec, stable);
16-
if (match) {
17-
console.log('match', match.version);
18-
}
1916

2017
if (match) {
2118
// download
@@ -74,7 +71,6 @@ export async function findMatch(
7471
let goFile: IGoVersionFile | undefined;
7572
for (let i = 0; i < candidates.length; i++) {
7673
let candidate: IGoVersion = candidates[i];
77-
console.log(JSON.stringify(candidate, null, 2));
7874
let version = candidate.version.replace('go', '');
7975

8076
// 1.13.0 is advertised as 1.13 preventing being able to match exactly 1.13.0

0 commit comments

Comments
 (0)