resource-watch/doc-executor

View on GitHub
app/src/services/downloadService.js

Summary

Maintainability
A
2 hrs
Test Coverage
B
83%

Function requestDownloadFile has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    new Bluebird((resolve, reject) => {
        logger.debug(`[DownloadService] Sending request to ${url}`);
        try {
            let dlprogress = 0;
            let oldProgress = 0;
Severity: Major
Found in app/src/services/downloadService.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status