johackim/rdcli

View on GitHub
src/utils.js

Summary

Maintainability
A
1 hr
Test Coverage

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

export default function handleErrorMessage(error) {
    const errorCode = error.error_code;

    switch (errorCode) {
    case 1:
Severity: Minor
Found in src/utils.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status