zammad/zammad

View on GitHub
app/assets/javascripts/knowledge_base_public_polyfills/promise.js

Summary

Maintainability
A
1 hr
Test Coverage

Function all has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Promise.all = function(arr) {
  return new Promise(function(resolve, reject) {
    if (!arr || typeof arr.length === 'undefined')
      throw new TypeError('Promise.all accepts an array');
    var args = Array.prototype.slice.call(arr);
Severity: Minor
Found in app/assets/javascripts/knowledge_base_public_polyfills/promise.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status