From 13f137fe8903b9e4ffcf892d3f134f55734d2155 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 3 May 2020 07:23:04 +0000 Subject: [PATCH] make prettier --- _common/normalize.js | 2 +- golang/releases.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.25.1