leonardofaria/leozera-ui

View on GitHub
scripts/copyBuildFiles.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createPackageFile has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createPackageFile() {
  return new Promise((resolve) => {
    fse.readFile(path.resolve(__dirname, '../package.json'), 'utf8', (err, data) => {
      if (err) {
        throw err
Severity: Minor
Found in scripts/copyBuildFiles.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status