vudash/vudash

View on GitHub
packages/core/src/cli/create.js

Summary

Maintainability
A
1 hr
Test Coverage

Function run has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.run = function () {
  const dashboard = require('../../dashboards/template.json')
  const cwd = process.cwd()
  const spinner = ora().start('Creating dashboard layout')
  const configFile = Path.join(cwd, 'dashboards', 'default.json')
Severity: Minor
Found in packages/core/src/cli/create.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status