mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
FIX the --yes switch for RN
This commit is contained in:
parent
1c1b22817b
commit
0720ac23fb
@ -79,7 +79,7 @@ const installStorybook = (projectType, options) => {
|
||||
|
||||
case types.REACT_NATIVE: {
|
||||
return (options.yes
|
||||
? Promise.resolve()
|
||||
? Promise.resolve({ server: true })
|
||||
: inquirer.prompt([
|
||||
{
|
||||
type: 'confirm',
|
||||
|
Loading…
x
Reference in New Issue
Block a user