Skip to content

Commit 108d405

Browse files
committed
fix(projects): fix enquirer import
1 parent e13d45c commit 108d405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/command/git-commit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from 'node:path';
22
import { readFileSync } from 'node:fs';
3-
import { prompt } from 'enquirer';
3+
import enquirer from 'enquirer';
44
import { execCommand } from '../shared';
55
import { locales } from '../locales';
66
import type { Lang } from '../locales';
@@ -35,7 +35,7 @@ export async function gitCommit(lang: Lang = 'en-us') {
3535
message: `${value.padEnd(30)} (${msg})`
3636
}));
3737

38-
const result = await prompt<PromptObject>([
38+
const result = await enquirer.prompt<PromptObject>([
3939
{
4040
name: 'types',
4141
type: 'select',

0 commit comments

Comments
 (0)