Skip to content

Commit

Permalink
fix cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotmoon committed May 24, 2024
1 parent 74f417e commit e84acd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/src/data/extensionInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() });
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit e84acd0

Please sign in to comment.