theBenForce/data-migration

View on GitHub
packages/data-migration-cli/src/commands/new.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  async run() {
    const { args, flags } = this.parse(New);

    let config = await loadConfiguration(path.resolve(flags.config));
    const prefix = DataMigrationProcessor.getMigrationsPath(config, flags.scope);
Severity: Minor
Found in packages/data-migration-cli/src/commands/new.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status