r2js/r2upload

View on GitHub

Showing 1 of 3 total issues

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

module.exports = (app, conf) => {
  const getConfig = conf || app.config('upload/local');
  if (!getConfig) {
    return log('upload config not found!');
  }
Severity: Major
Found in lib/single.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language