chandu1310/nodeneeds-cli

View on GitHub
src/actions/extract-file.js

Summary

Maintainability
A
1 hr
Test Coverage

Function extractFile has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const extractFile = (details) => {
  const { appname, fileDestination } = details;
  return new Promise( (resolve, reject) => {
    try{
      const releaseArchive = `${fileDestination}/released-version.zip`;
Severity: Minor
Found in src/actions/extract-file.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status