dashpresshq/dashpress

View on GitHub
src/pages/api/versions.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
96%

Function GET has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    GET: async (): Promise<Record<string, string>> => {
      const latestVersion$1 = await latestVersion("dashpress");

      const versionText =
        latestVersion$1 === version
Severity: Minor
Found in src/pages/api/versions.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status