From a8aac2d2c28bf8d4f69bf6c69bff430a106566eb Mon Sep 17 00:00:00 2001 From: Austen Collins Date: Mon, 14 Sep 2015 08:45:24 -0700 Subject: [PATCH] new project: remove number options from select --- lib/commands/new_project.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/commands/new_project.js b/lib/commands/new_project.js index ca88e6437..7f1672482 100644 --- a/lib/commands/new_project.js +++ b/lib/commands/new_project.js @@ -210,10 +210,10 @@ CMD.prototype._prompt = Promise.method(function() { // Prompt: region select var choices = [ - { key: '1) ', label: 'us-east-1', value: 'us-east-1' }, - { key: '2) ', label: 'us-west-1', value: 'us-west-1' }, - { key: '3) ', label: 'eu-west-1', value: 'eu-west-1' }, - { key: '4) ', label: 'ap-northeast-1', value: 'ap-northeast-1' }, + { key: '', label: 'us-east-1', value: 'us-east-1' }, + { key: '', label: 'us-west-1', value: 'us-west-1' }, + { key: '', label: 'eu-west-1', value: 'eu-west-1' }, + { key: '', label: 'ap-northeast-1', value: 'ap-northeast-1' }, ]; return JawsCLI.select('Select a region for your project: ', choices, false) @@ -234,7 +234,7 @@ CMD.prototype._prompt = Promise.method(function() { for (var i = 0; i < profiles.length; i++) { choices.push({ - key: (i + 1) + ') ', + key: '', value: profiles[i], label: profiles[i], });