Inlife/nexrender

View on GitHub
packages/nexrender-provider-ftp/src/index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

const upload = (job, settings, src, params) => {
    if (!params.host) throw new Error('FTP Host not provided.')
    if (!params.port) throw new Error('FTP Port not provided.')
    if (!params.user) throw new Error('FTP Username not provided.')
    if (!params.password) throw new Error('FTP Password not provided.')
Severity: Minor
Found in packages/nexrender-provider-ftp/src/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status