makeomatic/ms-files

View on GitHub
bin/apply-sku.js

Summary

Maintainability
A
1 hr
Test Coverage

Function performUpdate has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const performUpdate = async (amqp, file) => {
    const { name, uploadId } = file;

    if (filter && filter.test(name) !== true) {
      console.info('[skip] %s -> %s because of %s', uploadId, name, argv.filter);
Severity: Minor
Found in bin/apply-sku.js - About 1 hr to fix

    Parsing error: The keyword 'const' is reserved
    Open

    const { argv } = require('yargs')
    Severity: Minor
    Found in bin/apply-sku.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    There are no issues that match your filters.

    Category
    Status