From e84acd005c233d77e3217566c5c7524825544de7 Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Fri, 24 May 2024 12:41:30 +0100 Subject: [PATCH] fix cruft --- site/src/data/extensionInfo.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/src/data/extensionInfo.ts b/site/src/data/extensionInfo.ts index cddf142..b772a57 100644 --- a/site/src/data/extensionInfo.ts +++ b/site/src/data/extensionInfo.ts @@ -4,7 +4,7 @@ import * as config from "../config/config.json"; import { api } from "./pilotmoonApi.ts"; import sanitizeHtml from "sanitize-html"; import { gh } from "./gh.ts"; -import { type Data as ReleasesData, load as loadReleases, Release } from './releases.data'; +import { type Data as ReleasesData, load as loadReleases, type Release } from './releases.data'; // what we get back from the extensions endpoint of the API const ZAppInfo = z.object({ name: z.string(), link: z.string() }); @@ -92,7 +92,6 @@ async function getLicenseInfo(ext: ExtInfo) { } let releasesCache: ReleasesData; -let noVersionCount = 0; async function getDisplayVersion(ext: ExtInfo) { if (!releasesCache) { releasesCache = await loadReleases();