Skip to content

Commit

Permalink
fix(ui): create: package manager select
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Jun 17, 2018
1 parent 8b9477f commit 61662c4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/@vue/cli-ui/src/graphql-api/connectors/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,15 @@ async function create (input, context) {
await prompts.reset()
let index

// Package Manager
answers.packageManager = input.packageManager

// Config files
if ((index = answers.features.indexOf('use-config-files')) !== -1) {
answers.features.splice(index, 1)
answers.useConfigFiles = 'files'
}

const createOptions = {}
const createOptions = {
packageManager: input.packageManager
}
// Git
if (input.enableGit && input.gitCommitMessage) {
createOptions.git = input.gitCommitMessage
Expand Down

0 comments on commit 61662c4

Please sign in to comment.