From d7d752eb551f38db815657d65678dc7f1b4cad55 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 8 Jan 2025 17:54:27 +0100 Subject: [PATCH] chore(api): remove unused code --- api/index.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/api/index.ts b/api/index.ts index 14d715c..50eb0d9 100644 --- a/api/index.ts +++ b/api/index.ts @@ -170,16 +170,6 @@ function _getPreviousVersion( return version; } -function _getFirstVersion(support: SimpleSupportStatement): string { - if (typeof support.version_added === "string") { - return support.version_added; - } else if (typeof support.version_removed === "string") { - return support.version_removed; - } else { - return "0"; - } -} - function _compareVersions(a: string, b: string) { const x = _splitVersion(a); const y = _splitVersion(b);