Skip to content

Commit

Permalink
fix: rollback message prompt type
Browse files Browse the repository at this point in the history
  • Loading branch information
longgui.wjb committed Apr 28, 2022
1 parent bf1beae commit 6403fbc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/middleware-submitter/src/index.ts
Expand Up @@ -29,9 +29,8 @@ const handler: Handler<IOpts> = opts => {
: await ctx.inquirer.prompt([
{
name: "message",
type: "editor",
message:
"请输入提交信息,推荐格式\n<type>[optional scope]: <subject>\n\n[optional body]\n\n[optional footer(s)]",
type: "input",
message: "请输入提交信息",
validate: value => !!value,
},
]);
Expand Down

0 comments on commit 6403fbc

Please sign in to comment.