From 2a882233d20fcabe1e38cf2a56aad2b25bd42dcb Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Sat, 2 Nov 2024 22:21:58 -0300 Subject: [PATCH] move choices from prompt to config --- generators/quarkus/command.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/generators/quarkus/command.js b/generators/quarkus/command.js index 9e958568..61328e0f 100644 --- a/generators/quarkus/command.js +++ b/generators/quarkus/command.js @@ -106,12 +106,12 @@ export default asCommand({ type: 'list', default: null, message: `Which ${chalk.yellow('*development*')} database would you like to use?`, - choices: [ - { value: 'h2Disk', name: 'H2 with disk-based persistence' }, - { value: 'h2Memory', name: 'H2 with in-memory persistence' }, - { value: null, name: 'Same as production' }, - ], }), + choices: [ + { value: 'h2Disk', name: 'H2 with disk-based persistence' }, + { value: 'h2Memory', name: 'H2 with in-memory persistence' }, + { value: null, name: 'Same as production' }, + ], scope: 'storage', }, cacheProvider: {