Skip to content

Commit 1553245

Browse files
committed
chore: fix import for inquirer
1 parent 9c3624f commit 1553245

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,6 +1,6 @@
11
// import ora from 'ora'
22
import {Injectable} from '@nestjs/common';
3-
import prompt from 'inquirer';
3+
import inquirer from 'inquirer';
44
import Separator from 'inquirer/lib/objects/separator';
55
import {getTable} from 'console.table'
66

@@ -48,7 +48,7 @@ export class UIService {
4848
.filter((c) => c instanceof Separator)
4949
.length
5050

51-
const res = await prompt([{
51+
const res = await inquirer.prompt([{
5252
type: 'list',
5353
name: config.name,
5454
pageSize: process.stdout.rows - separatorCount - 1,

0 commit comments

Comments
 (0)