prismicio/javascript-kit

View on GitHub
lib/prismic.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getApi has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function getApi(url, options) {
  options = options || {};
  if (typeof arguments[1] == 'function') {
    // Legacy (1) the second argument is the callback
    options = {
Severity: Minor
Found in lib/prismic.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status