Skip to content

Commit

Permalink
chore(api): remove unused code (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Jan 8, 2025
1 parent 34f7679 commit 725da71
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 725da71

Please sign in to comment.