mashafrancis/butternut-user

View on GitHub
src/app/user/user.command.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function create has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Command({ command: 'create:user [amount]', describe: 'create a user' })
    public async create(@Positional({ name: 'amount' }) amount) {
        // tslint:disable-next-line:no-parameter-reassignment
        amount = parseInt(amount || 10, 10);
        this.logger.debug(`[create] execute for amount ${amount}!`);
Severity: Minor
Found in src/app/user/user.command.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status