Skip to content

Commit

Permalink
feat(engine, config): adjust questions display
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Jul 24, 2020
1 parent bd8e137 commit 9cb368a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"fix": "🐛",
"docs": "📝",
"style": "💄",
"refactor": "♻️",
"refactor": "♻️ ",
"perf": "⚡️",
"test": "",
"build": "🏗",
"build": "🏗 ",
"ci": "👷🏼",
"chore": "📦",
"revert": ""
Expand Down
2 changes: 1 addition & 1 deletion engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = (options) => {

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

Expand Down

0 comments on commit 9cb368a

Please sign in to comment.