From 61662c49cc26732f2fd89cf7c54c4668314627dd Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Sun, 17 Jun 2018 22:14:37 +0200 Subject: [PATCH] fix(ui): create: package manager select --- .../@vue/cli-ui/src/graphql-api/connectors/projects.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/@vue/cli-ui/src/graphql-api/connectors/projects.js b/packages/@vue/cli-ui/src/graphql-api/connectors/projects.js index 3671782eb2..d668893f3d 100644 --- a/packages/@vue/cli-ui/src/graphql-api/connectors/projects.js +++ b/packages/@vue/cli-ui/src/graphql-api/connectors/projects.js @@ -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