From: AJ ONeal Date: Sun, 3 May 2020 07:23:04 +0000 (+0000) Subject: make prettier X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=13f137fe8903b9e4ffcf892d3f134f55734d2155;p=webi-installers%2F.git make prettier --- diff --git a/_common/normalize.js b/_common/normalize.js index 6a0830f..6d17ee1 100644 --- a/_common/normalize.js +++ b/_common/normalize.js @@ -69,7 +69,7 @@ function normalize(all) { } if (all.download) { - rel.download = all.download.replace(/{{ download }}/, rel.download); + rel.download = all.download.replace(/{{ download }}/, rel.download); } }); return all; diff --git a/golang/releases.js b/golang/releases.js index e86ef63..d7dd22a 100644 --- a/golang/releases.js +++ b/golang/releases.js @@ -52,7 +52,7 @@ function getAllReleases(request) { version: version, // all go versions >= 1.0.0 are effectively LTS lts: (parts[0] > 0 && release.stable) || false, - channel: release.stable && 'stable' || 'beta', + channel: (release.stable && 'stable') || 'beta', date: '1970-01-01', // the world may never know os: os, arch: arch,