Inlife/nexrender

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

Summary

Maintainability
A
1 hr
Test Coverage

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

const upload = async (job, settings, src, params) => {
    if (!params.url) throw new Error('Provider NX: URL not provided.')

    const file = fs.createReadStream(src);
    const fileSize = fs.statSync(src).size;
Severity: Minor
Found in packages/nexrender-provider-nx/src/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status