Skip to content

Commit 7fd0955

Browse files
committed
chore(deps): update ui.service.ts
1 parent 7a80fcf commit 7fd0955

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/generator-cli/src/app/services/ui.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// import ora from 'ora'
22
import {Injectable} from '@nestjs/common';
33
import {getTable} from 'console.table';
4-
import inquirer from 'inquirer';
4+
5+
const inquirer = require('inquirer');
56

67
@Injectable()
78
export class UIService {
@@ -13,7 +14,6 @@ export class UIService {
1314
rows: Array<{ row: Record<string, unknown>, short: string, value: T }>,
1415
}): Promise<T> {
1516

16-
1717
const table = getTable(config.rows.map(({row}, index: number) => {
1818
return config.printColNum === false ? row : ({'#': index + 1, ...row});
1919
}))

0 commit comments

Comments
 (0)