From a6ff7c42dbd56f6f1f7b0f90fc8e2937068098ea Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Mon, 6 Feb 2023 12:52:31 -0500 Subject: [PATCH] review --- source/_data/releases.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_data/releases.cjs b/source/_data/releases.cjs index dbcf064..943803b 100644 --- a/source/_data/releases.cjs +++ b/source/_data/releases.cjs @@ -85,7 +85,7 @@ module.exports = async () => { const versions = await Promise.all( repos.map(async (repo) => [ repo, - cache[repo] ? cache[repo] : await getLatestVersion(repo), + cache[repo] ?? (await getLatestVersion(repo)), ]), ); const data = Object.fromEntries(