denis-sokolov/frozen-express

View on GitHub
src/lib/urlToFile.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(app, url, options){
    options = options || {};
    options.expectedStatus = options.expectedStatus || [200, 300];

    return new Promise(function(resolve, reject){
Severity: Minor
Found in src/lib/urlToFile.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status