Removed unnecessary code

This commit is contained in:
Sergey-Murtazin 2021-11-29 10:10:45 +03:00
parent 3759c7f407
commit 2af82fe6e9

View file

@ -203,8 +203,6 @@ export async function findMatch(
let candidate: IGoVersion = candidates[i]; let candidate: IGoVersion = candidates[i];
let version = makeSemver(candidate.version); let version = makeSemver(candidate.version);
core.info(`Candidate version: ${candidate.version}; Semver version: ${version}` )
// 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
let parts: string[] = version.split('.'); let parts: string[] = version.split('.');