gfw-api/true-color-tiles

View on GitHub
src/app.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function init has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const init: () => Promise<IInit> = async (): Promise<IInit> => {
    return new Promise((resolve: (value: IInit | PromiseLike<IInit>) => void
    ): void => {
        const app: Koa = new Koa();

Severity: Minor
Found in src/app.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status