feathersjs/feathers-generator

View on GitHub
src/hook/generator.js

Summary

Maintainability
A
1 hr
Test Coverage

Function default has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (prompt, done, options) {
  const metalsmith = Metalsmith(TEMPLATE_PATH);
  const SERVICE_PATH = path.resolve(options.path);
  const FEATHERS_PATH = 'src/feathers.json';
  const MOUNT_PATH = options.mount || 'src/feathers.json';
Severity: Minor
Found in src/hook/generator.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status