WeTransfer/wt-js-sdk

View on GitHub

Showing 2 of 232 total issues

Function createWTClient has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = async function createWTClient(apiKey, options = {}) {
  if (!apiKey) {
    throw new WTError('No API Key provided');
  }

Severity: Minor
Found in src/index.js - About 1 hr to fix

    Function createMultipartChunksForFile has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function createMultipartChunksForFile(transferOrBoard, file, content) {
        const totalParts = file.multipart.part_numbers;
        logger.debug(
          `[${
            file.name
    Severity: Minor
    Found in src/actions/upload-file.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language