wied03/karma-opal-rspec

View on GitHub
lib/opalSourceMap.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function createOpalSourceMapMWare has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const createOpalSourceMapMWare = function (config, logger) {
    const log = logger.create('middleware:opal_sourcemap');

    config.opal = config.opal || {};
    config.opal.sourceMapsEnabled = true;
Severity: Major
Found in lib/opalSourceMap.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status