Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
removed unneeded console.log
  • Loading branch information
Bryan MacFarlane committed Feb 10, 2020
1 parent 87e783e commit 6b10398
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions dist/index.js
Expand Up @@ -4582,9 +4582,6 @@ function downloadGo(versionSpec, stable) {
let toolPath;
try {
let match = yield findMatch(versionSpec, stable);
if (match) {
console.log('match', match.version);
}
if (match) {
// download
core_1.debug(`match ${match.version}`);
Expand Down Expand Up @@ -4622,7 +4619,6 @@ function findMatch(versionSpec, stable) {
let goFile;
for (let i = 0; i < candidates.length; i++) {
let candidate = candidates[i];
console.log(JSON.stringify(candidate, null, 2));
let version = candidate.version.replace('go', '');
// 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
Expand Down
4 changes: 0 additions & 4 deletions src/installer.ts
Expand Up @@ -13,9 +13,6 @@ export async function downloadGo(

try {
let match: IGoVersion | undefined = await findMatch(versionSpec, stable);
if (match) {
console.log('match', match.version);
}

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

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

0 comments on commit 6b10398

Please sign in to comment.