mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-12-27 15:24:50 -05: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;
|
||||
try {
|
||||
let match = yield findMatch(versionSpec, stable);
|
||||
if (match) {
|
||||
console.log('match', match.version);
|
||||
}
|
||||
if (match) {
|
||||
// download
|
||||
core_1.debug(`match ${match.version}`);
|
||||
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue