]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: typo in `needsE2eTesting` `choices` params (#184)
authorAgung Royat <agungroyat@users.noreply.github.com>
Mon, 24 Oct 2022 08:36:30 +0000 (15:36 +0700)
committerGitHub <noreply@github.com>
Mon, 24 Oct 2022 08:36:30 +0000 (16:36 +0800)
index.ts

index 9b115e6342dee1125a57905bca955f924dddbb70..e6f1df9a4b2be67164ac6dd61991a305a10cefab 100755 (executable)
--- a/index.ts
+++ b/index.ts
@@ -209,11 +209,11 @@ async function init() {
           type: () => (isFeatureFlagsUsed ? null : 'select'),
           message: 'Add an End-to-End Testing Solution?',
           initial: 0,
-          choices: (prev, anwsers) => [
+          choices: (prev, answers) => [
             { title: 'No', value: false },
             {
               title: 'Cypress',
-              description: anwsers.needsVitest
+              description: answers.needsVitest
                 ? undefined
                 : 'also supports unit testing with Cypress Component Testing',
               value: 'cypress'