We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13d45c commit 108d405Copy full SHA for 108d405
src/command/git-commit.ts
@@ -1,6 +1,6 @@
1
import path from 'node:path';
2
import { readFileSync } from 'node:fs';
3
-import { prompt } from 'enquirer';
+import enquirer from 'enquirer';
4
import { execCommand } from '../shared';
5
import { locales } from '../locales';
6
import type { Lang } from '../locales';
@@ -35,7 +35,7 @@ export async function gitCommit(lang: Lang = 'en-us') {
35
message: `${value.padEnd(30)} (${msg})`
36
}));
37
38
- const result = await prompt<PromptObject>([
+ const result = await enquirer.prompt<PromptObject>([
39
{
40
name: 'types',
41
type: 'select',
0 commit comments