keystonejs/storage.js

View on GitHub

Showing 1 of 16 total issues

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

LocalClient.prototype.upload = function (localSrc, destSrc, callback) {

    var container = this._config.container,
        destPath = path.dirname(destSrc),
        fileName = path.basename(destSrc);
Severity: Minor
Found in lib/provider/local.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language