azukiapp/azk

View on GitHub
src/cli/error_handler.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handler has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function handler(error, options = {}) {
  return async(this, function* () {
    let isError = error instanceof Error || error instanceof AzkError;
    if (!isError) {
      // no error type
Severity: Minor
Found in src/cli/error_handler.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status