Skip to content

Commit 9cb368a

Browse files
feat(engine, config): adjust questions display
1 parent bd8e137 commit 9cb368a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/default.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"fix": "🐛",
55
"docs": "📝",
66
"style": "💄",
7-
"refactor": "♻️",
7+
"refactor": "♻️ ",
88
"perf": "⚡️",
99
"test": "",
10-
"build": "🏗",
10+
"build": "🏗 ",
1111
"ci": "👷🏼",
1212
"chore": "📦",
1313
"revert": ""

engine.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = (options) => {
1414

1515
const length = longest(Object.keys(types)).length + 1;
1616
const choices = map(types, (type, key) => ({
17-
name: `${rightPad(`${key}:`, length)} ${type.description} ${config.emojis[key]}`,
17+
name: `${config.emojis[key]} ${rightPad(`${key}`, length)} ${type.description}`,
1818
value: key,
1919
}));
2020

0 commit comments

Comments
 (0)