mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-13 12:40:18 -05:00
fix(ui): create: first feature removed if 'use config files' not checked
This commit is contained in:
@@ -276,7 +276,7 @@ async function create (input, context) {
|
||||
answers.packageManager = input.packageManager
|
||||
|
||||
// Config files
|
||||
if ((index = answers.features.includes('use-config-files')) !== -1) {
|
||||
if ((index = answers.features.indexOf('use-config-files')) !== -1) {
|
||||
answers.features.splice(index, 1)
|
||||
answers.useConfigFiles = 'files'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user