From 9cb368ab9eca92a6571c9decf179716f2fcf5ad3 Mon Sep 17 00:00:00 2001 From: Pierre Brisorgueil Date: Fri, 24 Jul 2020 17:09:19 +0200 Subject: [PATCH] feat(engine, config): adjust questions display --- config/default.json | 4 ++-- engine.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/default.json b/config/default.json index 1a183b0..7d8fb38 100644 --- a/config/default.json +++ b/config/default.json @@ -4,10 +4,10 @@ "fix": "🐛", "docs": "📝", "style": "💄", - "refactor": "♻️", + "refactor": "♻️ ", "perf": "⚡️", "test": "✅", - "build": "🏗", + "build": "🏗 ", "ci": "👷🏼", "chore": "📦", "revert": "⏪" diff --git a/engine.js b/engine.js index 1e2b495..d13abca 100644 --- a/engine.js +++ b/engine.js @@ -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, }));