mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 00:41:54 +08:00
fix(cli): use correct prompt when choosing project
This commit is contained in:
parent
c661af316a
commit
090e1ee64b
@ -255,7 +255,7 @@ const projectTypeInquirer = async (options: { yes?: boolean }) => {
|
||||
if (manualAnswer !== true && manualAnswer.manual) {
|
||||
const frameworkAnswer = await prompts([
|
||||
{
|
||||
type: 'list',
|
||||
type: 'select',
|
||||
name: 'manualFramework',
|
||||
message: 'Please choose a project type from the following list:',
|
||||
choices: installableProjectTypes.map((type) => ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user