src/app/user/user.command.ts
Function create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
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}!`);