ChiefOfGxBxL/WC3MapTranslator

View on GitHub
lib/translators/CamerasTranslator.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function warToJson has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static warToJson(buffer: Buffer): JsonResult<Camera[]> {
        const result = [];
        const outBufferToJSON = new W3Buffer(buffer);

        const fileVersion = outBufferToJSON.readInt(), // File version
Severity: Minor
Found in lib/translators/CamerasTranslator.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status